public class GridCacheDgcManager<K,V> extends GridCacheManagerAdapter<K,V>
cctx, log| Constructor and Description |
|---|
GridCacheDgcManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
dgc()
Runs DGC procedure on demand using
GridCacheConfiguration.getDgcSuspectLockTimeout() to identify suspect locks. |
void |
dgc(long suspectLockTimeout,
boolean global,
boolean rmvLocks)
Runs DGC procedure on demand using provided parameter to identify suspect locks.
|
protected void |
onKernalStart0() |
void |
onKernalStop0(boolean cancel) |
void |
start0() |
String |
toString() |
context, kernalStartInfo, kernalStopInfo, log, onKernalStart, onKernalStop, printMemoryStats, start, startInfo, stop, stop0, stopInfopublic void start0()
throws GridException
start0 in class GridCacheManagerAdapter<K,V>GridException - If failed.protected void onKernalStart0()
throws GridException
onKernalStart0 in class GridCacheManagerAdapter<K,V>GridException - If failed.public void onKernalStop0(boolean cancel)
onKernalStop0 in class GridCacheManagerAdapter<K,V>cancel - Cancel flag.public void dgc()
GridCacheConfiguration.getDgcSuspectLockTimeout() to identify suspect locks.
Method blocks current thread until locks are examined and all DGC requests are sent to remote nodes.
DGC does not remove locks if GridCacheConfiguration.isDgcRemoveLocks()
is set to false.
public void dgc(long suspectLockTimeout,
boolean global,
boolean rmvLocks)
Method blocks current thread until locks are examined and all DGC requests are sent
to remote nodes and (if global is true) all nodes having this cache
get signal to start DGC procedure.
suspectLockTimeout - Custom suspect lock timeout (should be greater than or equal to 0).global - If true then DGC procedure will start on all nodes having this cache.rmvLocks - If false then DGC does not remove locks, just report them to log.public String toString()
toString in class GridCacheManagerAdapter<K,V>Copyright © 2014. All rights reserved.