public class CatchupFuture extends Object
Constructor and Description |
---|
CatchupFuture(AbstractCatchupThread catchupThread)
Creates a tracker for given catchup thread.
|
Modifier and Type | Method and Description |
---|---|
static CatchupFuture |
allOf(List<CatchupFuture> futures)
Creates a single future for tracking a list of catchup futures.
|
void |
cancel()
Cancels catchup progress gracefully.
|
static CatchupFuture |
completed() |
void |
waitTermination()
Waits until advancing finishes.
|
public CatchupFuture(AbstractCatchupThread catchupThread)
catchupThread
- journal catchup threadpublic static CatchupFuture allOf(List<CatchupFuture> futures)
futures
- list of catchup futurespublic static CatchupFuture completed()
public void cancel()
public void waitTermination()
Copyright © 2023. All Rights Reserved.