public class GridTimeoutProcessor extends GridProcessorAdapter
| Modifier and Type | Class and Description |
|---|---|
class |
GridTimeoutProcessor.CancelableTask |
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridTimeoutProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimeoutObject(GridTimeoutObject timeoutObj) |
void |
printMemoryStats()
Prints memory statistics (sizes of internal structures, etc.).
|
void |
removeTimeoutObject(GridTimeoutObject timeoutObj) |
GridTimeoutProcessor.CancelableTask |
schedule(Runnable task,
long delay,
long period)
Schedule the specified timer task for execution at the specified
time with the specified period, in milliseconds.
|
void |
start(boolean activeOnStart)
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, toString, validateNodepublic GridTimeoutProcessor(GridKernalContext ctx)
ctx - Kernal context.public void start(boolean activeOnStart)
start in interface GridComponentstart in class GridProcessorAdapterpublic void stop(boolean cancel)
throws IgniteCheckedException
stop in interface GridComponentstop in class GridProcessorAdaptercancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.IgniteCheckedException - Thrown in case of any errors.public void addTimeoutObject(GridTimeoutObject timeoutObj)
timeoutObj - Timeout object.public GridTimeoutProcessor.CancelableTask schedule(Runnable task, long delay, long period)
task - Task to execute.delay - Delay to first execution in milliseconds.period - Period for execution in milliseconds or -1.public void removeTimeoutObject(GridTimeoutObject timeoutObj)
timeoutObj - Timeout object.public void printMemoryStats()
printMemoryStats in interface GridComponentprintMemoryStats in class GridProcessorAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017