public class GridCacheEventManager extends GridCacheManagerAdapter
cctx, log, starting| Constructor and Description |
|---|
GridCacheEventManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(int type) |
void |
addEvent(int part,
KeyCacheObject key,
@Nullable IgniteInternalTx tx,
@Nullable GridCacheMvccCandidate owner,
int type,
@Nullable CacheObject newVal,
boolean hasNewVal,
@Nullable CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName,
boolean keepBinary) |
void |
addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
@Nullable GridCacheMvccCandidate owner,
int type,
@Nullable CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName,
boolean keepBinary) |
void |
addEvent(int part,
KeyCacheObject key,
UUID nodeId,
@Nullable IgniteInternalTx tx,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName,
boolean keepBinary) |
void |
addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
@Nullable IgniteInternalTx tx,
@Nullable String txLbl,
@Nullable Object lockId,
int type,
@Nullable CacheObject newVal,
boolean hasNewVal,
@Nullable CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
@Nullable String cloClsName,
@Nullable String taskName,
boolean keepBinary) |
void |
addListener(GridLocalEventListener lsnr,
int... evts)
Adds local event listener.
|
boolean |
isRecordable(int type) |
void |
printMemoryStats()
Prints memory statistics (sizes of internal data structures, etc.).
|
void |
readEvent(KeyCacheObject key,
@Nullable IgniteInternalTx tx,
@Nullable String txLbl,
@Nullable CacheObject val,
@Nullable UUID subjId,
@Nullable String taskName,
boolean keepBinary) |
void |
removeListener(GridLocalEventListener lsnr)
Removes local event listener.
|
context, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, start, start0, startInfo, stop, stop0, stopInfo, toStringpublic void addListener(GridLocalEventListener lsnr, int... evts)
lsnr - Listener.evts - Types of events.public void removeListener(GridLocalEventListener lsnr)
lsnr - Local event listener.public void readEvent(KeyCacheObject key, @Nullable @Nullable IgniteInternalTx tx, @Nullable @Nullable String txLbl, @Nullable @Nullable CacheObject val, @Nullable @Nullable UUID subjId, @Nullable @Nullable String taskName, boolean keepBinary)
key - Key for event.tx - Possible surrounding transaction.txLbl - Possible lable of possible surrounding transaction.val - Read value.subjId - Subject ID.taskName - Task name.keepBinary - Keep binary flag.public void addEvent(int part,
KeyCacheObject key,
@Nullable
@Nullable IgniteInternalTx tx,
@Nullable
@Nullable GridCacheMvccCandidate owner,
int type,
@Nullable
@Nullable CacheObject newVal,
boolean hasNewVal,
@Nullable
@Nullable CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName,
boolean keepBinary)
part - Partition.key - Key for the event.tx - Possible surrounding transaction.owner - Possible surrounding lock.type - Event type.newVal - New value.hasNewVal - Whether new value is present or not.oldVal - Old value.hasOldVal - Whether old value is present or not.subjId - Subject ID.cloClsName - Closure class name.taskName - Task name.public void addEvent(int type)
type - Event type (start or stop).public void addEvent(int part,
KeyCacheObject key,
UUID nodeId,
@Nullable
@Nullable IgniteInternalTx tx,
GridCacheMvccCandidate owner,
int type,
CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName,
boolean keepBinary)
part - Partition.key - Key for the event.nodeId - Node ID.tx - Possible surrounding transaction.owner - Possible surrounding lock.type - Event type.newVal - New value.hasNewVal - Whether new value is present or not.oldVal - Old value.hasOldVal - Whether old value is present or not.subjId - Subject ID.cloClsName - Closure class name.taskName - Task name.public void addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
@Nullable
@Nullable GridCacheMvccCandidate owner,
int type,
@Nullable
@Nullable CacheObject newVal,
boolean hasNewVal,
CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
String cloClsName,
String taskName,
boolean keepBinary)
part - Partition.key - Key for the event.evtNodeId - Node ID.owner - Possible surrounding lock.type - Event type.newVal - New value.hasNewVal - Whether new value is present or not.oldVal - Old value.hasOldVal - Whether old value is present or not.subjId - Subject ID.cloClsName - Closure class name.taskName - Task name.public void addEvent(int part,
KeyCacheObject key,
UUID evtNodeId,
@Nullable
@Nullable IgniteInternalTx tx,
@Nullable
@Nullable String txLbl,
@Nullable
@Nullable Object lockId,
int type,
@Nullable
@Nullable CacheObject newVal,
boolean hasNewVal,
@Nullable
@Nullable CacheObject oldVal,
boolean hasOldVal,
UUID subjId,
@Nullable
@Nullable String cloClsName,
@Nullable
@Nullable String taskName,
boolean keepBinary)
part - Partition.key - Key for the event.evtNodeId - Event node ID.tx - Possible surrounding transaction.txLbl - Possible label of possible surrounding transaction.lockId - Lock ID.type - Event type.newVal - New value.hasNewVal - Whether new value is present or not.oldVal - Old value.hasOldVal - Whether old value is present or not.subjId - Subject ID.cloClsName - Closure class name.taskName - Task class name.public boolean isRecordable(int type)
type - Event type.True if event is recordable.public void printMemoryStats()
printMemoryStats in interface GridCacheManagerprintMemoryStats in class GridCacheManagerAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020