Class TimeWindowLeaderboardIndexMaintainer.UpdateState
- java.lang.Object
-
- com.apple.foundationdb.record.provider.foundationdb.leaderboard.TimeWindowLeaderboardIndexMaintainer.UpdateState
-
- Enclosing class:
- TimeWindowLeaderboardIndexMaintainer
protected class TimeWindowLeaderboardIndexMaintainer.UpdateState extends Object
-
-
Constructor Summary
Constructors Constructor Description UpdateState(TimeWindowLeaderboardWindowUpdate update)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>
checkOverlappingChanged()
TimeWindowLeaderboardWindowUpdateResult
getResult()
protected boolean
isRebuildConditional()
CompletableFuture<TimeWindowLeaderboardDirectory>
loadDirectory()
CompletableFuture<Void>
save()
void
setDirectory(TimeWindowLeaderboardDirectory existingDirectory)
void
update()
-
-
-
Constructor Detail
-
UpdateState
public UpdateState(TimeWindowLeaderboardWindowUpdate update)
-
-
Method Detail
-
isRebuildConditional
protected boolean isRebuildConditional()
-
loadDirectory
public CompletableFuture<TimeWindowLeaderboardDirectory> loadDirectory()
-
setDirectory
public void setDirectory(@Nullable TimeWindowLeaderboardDirectory existingDirectory)
-
update
public void update()
-
checkOverlappingChanged
public CompletableFuture<Void> checkOverlappingChanged()
-
save
public CompletableFuture<Void> save()
-
getResult
public TimeWindowLeaderboardWindowUpdateResult getResult()
-
-