public static class AtomicCounterEditor.ConsolidatorTask
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Void>
Modifier and Type | Field and Description |
---|---|
static long |
MAX_TIMEOUT
millis over which the task will timeout
|
static long |
MIN_TIMEOUT
millis below which the next delay will schedule at this amount.
|
Constructor and Description |
---|
ConsolidatorTask(java.lang.String path,
PropertyState revision,
NodeStore store,
java.util.concurrent.ScheduledExecutorService exec,
long delay,
CommitHook hook) |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
call() |
java.lang.String |
getName() |
static boolean |
isTimedOut(long delay) |
static long |
nextDelay(long currentDelay) |
public static final long MAX_TIMEOUT
public static final long MIN_TIMEOUT
public ConsolidatorTask(java.lang.String path, PropertyState revision, NodeStore store, java.util.concurrent.ScheduledExecutorService exec, long delay, CommitHook hook)
public java.lang.Void call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.lang.Void>
java.lang.Exception
public static long nextDelay(long currentDelay)
public static boolean isTimedOut(long delay)
public java.lang.String getName()
"Copyright © 2010 - 2019 Adobe Systems Incorporated. All Rights Reserved"