public class GridDhtCache<K,V> extends GridDhtTransactionalCacheAdapter<K,V>
GridDhtCacheAdapter.GridSubjectIdAddedMessageConverter616GridCacheAdapter.AsyncOp<T>, GridCacheAdapter.FutureHolderpreldr, SUBJECT_ID_EVENTS_SINCE_VERafterPessimisticUnlock, beforePessimisticLock, cacheCfg, CLEAR_ALL_SPLIT_THRESHOLD, ctx, gridCfg, lastFut, locNodeId, log, map, metrics| Constructor and Description |
|---|
GridDhtCache()
Empty constructor required for
Externalizable. |
GridDhtCache(GridCacheContext<K,V> ctx) |
GridDhtCache(GridCacheContext<K,V> ctx,
GridCacheConcurrentMap<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDht() |
String |
name()
Gets name of this cache (
null for default cache). |
GridNearTransactionalCache<K,V> |
near() |
void |
near(GridNearTransactionalCache<K,V> near) |
void |
resetMetrics()
Resets metrics for current cache.
|
void |
start()
Starts this cache.
|
commitTx, dgc, dgc, finish, lockAllAsync, lockAllAsync, lockAllAsyncInternal, prepareTx, processDhtLockRequest, processDhtLockRequest0, processDhtTxFinishRequest, processDhtTxFinishRequest0, processDhtTxPrepareRequest, processDhtUnlockRequest, removeLocks, rollbackTx, sendReplybeginMultiUpdate, dhtPreloader, endMultiUpdate, entry, entryEx, entryEx, entryExx, entryExx, entryExx, entrySet, getAllAsync, getDhtAsync, init, loadCache, multiUpdateFinishFuture, multiUpdateTopologyFuture, newTx, onDeferredDelete, onKernalStart, onKernalStop, peekExx, preloader, primarySize, printMemoryStats, processNearGetRequest, reload, splitClearAll, stop, topology, toString, unlockAlllockAllAsync, removeVersionedEntry, txLockAsyncaffinity, afterPessimisticUnlock, afterPessimisticUnlock, allEntries, asyncOp, asyncOpAcquire, asyncOpRelease, beforePessimisticLock, beforePessimisticLock, cache, checkJta, clear, clear0, clearAll, clearAll, clearAll0, compact, compact, compactAll, compactAll, configuration, containsAllKeys, containsAllValues, containsAnyKeys, containsAnyValues, containsKey, containsKey, containsValue, containsValue, context, dataStructures, drBackupQueueSize, drListStateTransfers, drPause, drPauseState, drResume, drStateTransfer, entries, entryEx, entryExSafe, entrySet, entrySet, entrySet, entrySetx, evict, evict, evictAll, evictAll, evictAll, flags, flagsOff, flagsOn, forAll, forceRepartition, forEach, forSubjectId, get, get, get, getAll, getAll, getAllAsync, getAllAsync, getAllAsync, getAllOutTx, getAllOutTxAsync, getAsync, getAsync, getForcePrimary, getForcePrimaryAsync, ggfsDataSpaceMax, ggfsDataSpaceUsed, globalClearAll, gridProjection, isColocated, isDhtAtomic, isDrSystemCache, isEmpty, isGgfsDataCache, isLocal, isLocked, isLockedByThread, isMongoDataCache, isMongoMetaCache, isNear, iterator, keySet, keySet, loadCacheAsync, lock, lockAll, lockAsync, log, map, metrics, metrics0, nearSize, offHeapAllocatedSize, offHeapEntriesCount, offHeapIterator, onGgfsDataSizeChanged, onUndeploy, overflowSize, peek, peek, peek, peek0, peek0, peek0, peekAll, peekAll0, peekAll0, peekEx, predicate, primaryEntrySet, primaryEntrySet, primaryKeySet, primaryKeySet, primaryValues, primaryValues, processCheckCommittedTxRequest, processCheckCommittedTxResponse, processCheckPreparedTxRequest, processCheckPreparedTxResponse, projection, projection, projection, promote, promoteAll, put, put, putAll, putAllAsync, putAllDr, putAllDrAsync, putAsync, putAsync, putIfAbsent, putIfAbsentAsync, putx, putx, putxAsync, putxAsync, putxIfAbsent, putxIfAbsentAsync, queries, randomEntry, readExternal, readResolve, readThroughAllAsync, reload, reloadAll, reloadAll, reloadAll, reloadAll, reloadAll, reloadAllAsync, reloadAllAsync, reloadAllAsync, reloadAllAsync, reloadAllAsync, reloadAsync, reloadAsync, remove, remove, remove, removeAll, removeAll, removeAllAsync, removeAllAsync, removeAllDr, removeAllDrAsync, removeAsync, removeAsync, removeAsync, removeEntry, removeIfObsolete, removex, removex, removex, removexAsync, removexAsync, removexAsync, replace, replace, replaceAsync, replaceAsync, replacex, replacex, replacexAsync, replacexAsync, saveFuture, size, startInfo, stopInfo, swapIterator, swapKeys, swapSize, toMap, transform, transformAll, transformAll, transformAllAsync, transformAllAsync, transformAndCompute, transformAsync, transformAsync, tx, txStart, txStart, txStart, txStartAffinity, txStartPartition, txSynchronizations, txSynchronize, txUnsynchronize, unlock, values, values, wrappers, writeExternaladdMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, clone, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, readExternalMeta, removeMeta, removeMeta, replaceMeta, writeExternalMetaequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, removeMeta, removeMeta, replaceMetapublic GridDhtCache()
Externalizable.public GridDhtCache(GridCacheContext<K,V> ctx)
ctx - Context.public GridDhtCache(GridCacheContext<K,V> ctx, GridCacheConcurrentMap<K,V> map)
ctx - Cache context.map - Cache map.public boolean isDht()
isDht in class GridCacheAdapter<K,V>True if cache is DHT.public String name()
null for default cache).name in interface GridCacheProjection<K,V>name in class GridCacheAdapter<K,V>public void start()
throws GridException
start in class GridDhtTransactionalCacheAdapter<K,V>GridException - If start failed.public void resetMetrics()
resetMetrics in interface GridCache<K,V>resetMetrics in class GridCacheAdapter<K,V>public GridNearTransactionalCache<K,V> near()
GridDhtTransactionalCacheAdapternear in class GridDhtTransactionalCacheAdapter<K,V>public void near(GridNearTransactionalCache<K,V> near)
near - Near cache.Copyright © 2014. All rights reserved.