public class MvccCachingManager extends GridCacheSharedManagerAdapter
| Modifier and Type | Field and Description |
|---|---|
static int |
TX_SIZE_THRESHOLD
Maximum possible transaction size when caching is enabled.
|
cctx, diagnosticLog, log| Constructor and Description |
|---|
MvccCachingManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnlisted(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
CacheObject oldVal,
boolean primary,
AffinityTopologyVersion topVer,
MvccVersion mvccVer,
int cacheId,
IgniteInternalTx tx,
IgniteUuid futId,
int batchNum)
Adds enlisted tx entry to cache.
|
Map<UUID,CacheContinuousQueryListener> |
continuousQueryListeners(GridCacheContext ctx0,
@Nullable IgniteInternalTx tx) |
void |
onTxFinished(IgniteInternalTx tx,
boolean commit) |
context, isStopping, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, start, start0, startInfo, stop, stop0, stopInfo, toStringpublic static final int TX_SIZE_THRESHOLD
public void addEnlisted(KeyCacheObject key, @Nullable @Nullable CacheObject val, long ttl, long expireTime, GridCacheVersion ver, CacheObject oldVal, boolean primary, AffinityTopologyVersion topVer, MvccVersion mvccVer, int cacheId, IgniteInternalTx tx, IgniteUuid futId, int batchNum) throws IgniteCheckedException
key - Key.val - Value.ttl - Time to live.expireTime - Expire time.ver - Version.oldVal - Old value.primary - Flag whether this is a primary node.topVer - Topology version.mvccVer - Mvcc version.cacheId - Cache id.tx - Transaction.futId - Dht future id.batchNum - Batch number (for batches reordering prevention).IgniteCheckedException - If failed.public void onTxFinished(IgniteInternalTx tx, boolean commit) throws IgniteCheckedException
tx - Transaction.commit - True if commit.IgniteCheckedExceptionpublic Map<UUID,CacheContinuousQueryListener> continuousQueryListeners(GridCacheContext ctx0, @Nullable @Nullable IgniteInternalTx tx)
ctx0 - Cache context.tx - Transaction.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020