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) |
static List<Snapshot> |
findSkippingTags(List<Snapshot> sortedTags,
long beginInclusive,
long endExclusive)
Find the skipping tags in sortedTags for range of [beginInclusive, endExclusive).
|
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.