public class PageLockTrackerManager extends Object implements LifecycleAware
| Modifier and Type | Class and Description |
|---|---|
static class |
PageLockTrackerManager.MemoryCalculator |
| Constructor and Description |
|---|
PageLockTrackerManager(IgniteLogger log)
Default constructor.
|
PageLockTrackerManager(IgniteLogger log,
String managerNameId) |
| Modifier and Type | Method and Description |
|---|---|
PageLockListener |
createPageLockTracker(String name) |
String |
dumpLocks()
Take page locks dump.
|
String |
dumpLocksToFile()
Take page locks dump and save to file.
|
String |
dumpLocksToFile(String path)
Take page locks dump and save to file for specific path.
|
void |
dumpLocksToLog()
Take page locks dump and print it to console.
|
long |
getHeapOverhead() |
long |
getOffHeapOverhead() |
long |
getTotalOverhead() |
PageLockTrackerMXBean |
mxBean()
Getter.
|
void |
start()
Starts grid component, called on grid start.
|
void |
stop()
Stops grid component, called on grid shutdown.
|
public PageLockTrackerManager(IgniteLogger log)
public PageLockTrackerManager(IgniteLogger log, String managerNameId)
log - Ignite logger.managerNameId - Manager name.public PageLockListener createPageLockTracker(String name)
name - Lock tracker name.PageLockListener for tracking lock/unlock operations.public String dumpLocks()
public void dumpLocksToLog()
public String dumpLocksToFile()
public String dumpLocksToFile(String path)
path - Path to save file.public PageLockTrackerMXBean mxBean()
public long getHeapOverhead()
public long getOffHeapOverhead()
public long getTotalOverhead()
public void start()
throws IgniteException
start in interface LifecycleAwareIgniteException - If failed.public void stop()
throws IgniteException
stop in interface LifecycleAwareIgniteException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020