public class GridCacheManagerAdapter<K,V> extends Object implements GridCacheManager<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheContext |
cctx
Context.
|
protected IgniteLogger |
log
Logger.
|
| Constructor and Description |
|---|
GridCacheManagerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected GridCacheContext<K,V> |
context() |
protected String |
kernalStartInfo() |
protected String |
kernalStopInfo() |
protected IgniteLogger |
log() |
void |
onDisconnected(IgniteFuture<?> reconnectFut) |
void |
onKernalStart() |
protected void |
onKernalStart0() |
void |
onKernalStop(boolean cancel) |
protected void |
onKernalStop0(boolean cancel) |
void |
printMemoryStats()
Prints memory statistics (sizes of internal data structures, etc.).
|
void |
start(GridCacheContext<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 GridCacheContext cctx
protected IgniteLogger log
public final void start(GridCacheContext<K,V> cctx) throws IgniteCheckedException
start in interface GridCacheManager<K,V>cctx - Context.IgniteCheckedException - If failed.protected IgniteLogger log()
protected GridCacheContext<K,V> context()
protected void start0()
throws IgniteCheckedException
IgniteCheckedException - If failed.public final void stop(boolean cancel)
stop in interface GridCacheManager<K,V>cancel - Cancel flag.protected void stop0(boolean cancel)
cancel - Cancel flag.public final void onKernalStart()
throws IgniteCheckedException
onKernalStart in interface GridCacheManager<K,V>IgniteCheckedException - If failed.public final void onKernalStop(boolean cancel)
onKernalStop in interface GridCacheManager<K,V>cancel - Cancel flag.protected void onKernalStart0()
throws IgniteCheckedException
IgniteCheckedException - If failed.protected void onKernalStop0(boolean cancel)
cancel - Cancel flag.public void onDisconnected(IgniteFuture<?> reconnectFut)
onDisconnected in interface GridCacheManager<K,V>reconnectFut - Reconnect future.public void printMemoryStats()
printMemoryStats in interface GridCacheManager<K,V>protected String startInfo()
protected String stopInfo()
protected String kernalStartInfo()
protected String kernalStopInfo()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016