public class ExpireSnapshotsImpl extends Object implements ExpireSnapshots
ExpireSnapshots
.Constructor and Description |
---|
ExpireSnapshotsImpl(SnapshotManager snapshotManager,
SnapshotDeletion snapshotDeletion,
TagManager tagManager) |
Modifier and Type | Method and Description |
---|---|
ExpireSnapshots |
config(ExpireConfig expireConfig) |
int |
expire() |
int |
expireUntil(long earliestId,
long endExclusiveId) |
SnapshotDeletion |
snapshotDeletion() |
public ExpireSnapshotsImpl(SnapshotManager snapshotManager, SnapshotDeletion snapshotDeletion, TagManager tagManager)
public ExpireSnapshots config(ExpireConfig expireConfig)
config
in interface ExpireSnapshots
public int expire()
expire
in interface ExpireSnapshots
@VisibleForTesting public int expireUntil(long earliestId, long endExclusiveId)
@VisibleForTesting public SnapshotDeletion snapshotDeletion()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.