public class GridCacheSharedManagerAdapter<K,V> extends Object implements GridCacheSharedManager<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheSharedContext<K,V> |
cctx
Context.
|
protected IgniteLogger |
diagnosticLog
Diagnostic logger.
|
protected IgniteLogger |
log
Logger.
|
| Constructor and Description |
|---|
GridCacheSharedManagerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected GridCacheSharedContext<K,V> |
context() |
protected boolean |
isStopping() |
protected String |
kernalStartInfo() |
protected String |
kernalStopInfo() |
protected IgniteLogger |
log() |
void |
onDisconnected(IgniteFuture<?> reconnectFut) |
void |
onKernalStop(boolean cancel) |
protected void |
onKernalStop0(boolean cancel) |
void |
printMemoryStats()
Prints memory statistics (sizes of internal data structures, etc.).
|
void |
start(GridCacheSharedContext<K,V> cctx)
Starts manager.
|
protected void |
start0() |
protected String |
startInfo() |
void |
stop(boolean cancel)
Stops manager.
|
protected void |
stop0(boolean cancel) |
protected String |
stopInfo() |
String |
toString() |
protected GridCacheSharedContext<K,V> cctx
protected IgniteLogger log
protected IgniteLogger diagnosticLog
public final void start(GridCacheSharedContext<K,V> cctx) throws IgniteCheckedException
start in interface GridCacheSharedManager<K,V>cctx - Context.IgniteCheckedException - If failed.protected IgniteLogger log()
protected GridCacheSharedContext<K,V> context()
protected void start0()
throws IgniteCheckedException
IgniteCheckedException - If failed.public final void stop(boolean cancel)
stop in interface GridCacheSharedManager<K,V>cancel - Cancel flag.protected final boolean isStopping()
true If this component is stopping.protected void stop0(boolean cancel)
cancel - Cancel flag.public final void onKernalStop(boolean cancel)
onKernalStop in interface GridCacheSharedManager<K,V>cancel - Cancel flag.protected void onKernalStop0(boolean cancel)
cancel - Cancel flag.public void onDisconnected(IgniteFuture<?> reconnectFut)
onDisconnected in interface GridCacheSharedManager<K,V>reconnectFut - Reconnect future.public void printMemoryStats()
printMemoryStats in interface GridCacheSharedManager<K,V>protected String startInfo()
protected String stopInfo()
protected String kernalStartInfo()
protected String kernalStopInfo()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017