Class AtomicCounterEditor.ConsolidatorTask
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.atomic.AtomicCounterEditor.ConsolidatorTask
-
-
Field Summary
Fields Modifier and Type Field Description static longMAX_TIMEOUTmillis over which the task will timeoutstatic longMIN_TIMEOUTmillis below which the next delay will schedule at this amount.
-
Constructor Summary
Constructors Constructor Description ConsolidatorTask(@NotNull String path, @Nullable PropertyState revision, @NotNull NodeStore store, @NotNull ScheduledExecutorService exec, long delay, @NotNull CommitHook hook)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidcall()StringgetName()static booleanisTimedOut(long delay)static longnextDelay(long currentDelay)
-
-
-
Field Detail
-
MAX_TIMEOUT
public static final long MAX_TIMEOUT
millis over which the task will timeout
-
MIN_TIMEOUT
public static final long MIN_TIMEOUT
millis below which the next delay will schedule at this amount.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConsolidatorTask
public ConsolidatorTask(@NotNull @NotNull String path, @Nullable @Nullable PropertyState revision, @NotNull @NotNull NodeStore store, @NotNull @NotNull ScheduledExecutorService exec, long delay, @NotNull @NotNull CommitHook hook)
-
-