public abstract class GridNearCacheAdapter<K,V> extends GridDistributedCacheAdapter<K,V>
GridCacheAdapter.AsyncOp<T>, GridCacheAdapter.FutureHolderafterPessimisticUnlock, beforePessimisticLock, cacheCfg, CLEAR_ALL_SPLIT_THRESHOLD, ctx, gridCfg, lastFut, locNodeId, log, map, metrics| Modifier | Constructor and Description |
|---|---|
protected |
GridNearCacheAdapter()
Empty constructor required for
Externalizable. |
protected |
GridNearCacheAdapter(GridCacheContext<K,V> ctx) |
| Modifier and Type | Method and Description |
|---|---|
GridInClosure3<K,Boolean,GridCacheOperation> |
afterPessimisticUnlock() |
void |
afterPessimisticUnlock(GridInClosure3<K,Boolean,GridCacheOperation> afterPessimisticUnlock)
Sets callback that will be invoked after keys are unlocked.
|
GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> |
beforePessimisticLock() |
void |
beforePessimisticLock(GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> beforePessimisticLock)
Sets callback that will be invoked before keys are locked.
|
boolean |
clear0(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
void |
clearAll0(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
compact(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
containsKey(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
abstract GridDhtCacheAdapter<K,V> |
dht() |
protected int |
drBackupQueueSize() |
Collection<GridDrStateTransferDescriptor> |
drListStateTransfers()
List currently active state transfers.
|
void |
drPause()
Pauses data center replication for this cache.
|
GridDrStatus |
drPauseState()
Get DR pause state.
|
void |
drResume()
Resumes data center replication for this cache.
|
GridFuture<?> |
drStateTransfer(Collection<Byte> dataCenterIds)
Starts full state transfer.
|
GridCacheEntry<K,V> |
entry(K key)
Gets entry from cache with the specified key.
|
GridCacheEntryEx<K,V> |
entryEx(K key,
boolean touch) |
GridCacheEntryEx<K,V> |
entryEx(K key,
long topVer) |
GridNearCacheEntry<K,V> |
entryExx(K key,
long topVer) |
Set<GridCacheEntry<K,V>> |
entrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<GridCacheEntry<K,V>> |
entrySet(int part)
Gets set containing cache entries that belong to provided partition or
null
if partition not found locally. |
boolean |
evict(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
void |
evictAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
boolean |
evictNearOnly(K key,
GridPredicate<GridCacheEntry<K,V>>[] filter) |
long |
ggfsDataSpaceMax()
Get maximum space available for GGFS.
|
long |
ggfsDataSpaceUsed()
Get current amount of used GGFS space in bytes.
|
protected void |
init()
Post constructor initialization for subclasses.
|
boolean |
isAllLockedNearOnly(Iterable<? extends K> keys) |
boolean |
isGgfsDataCache()
Checks whether this cache is GGFS data cache.
|
boolean |
isLocked(K key)
Checks if any node owns a lock for this key.
|
boolean |
isLockedNearOnly(K key) |
boolean |
isMongoDataCache()
Checks whether this cache is Mongo data cache.
|
boolean |
isMongoMetaCache()
Checks whether this cache is Mongo meta cache.
|
boolean |
isNear() |
Set<K> |
keySet(GridPredicate<GridCacheEntry<K,V>>[] filter) |
GridFuture<Map<K,V>> |
loadAsync(GridCacheTxEx tx,
Collection<? extends K> keys,
boolean reload,
boolean forcePrimary,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId) |
void |
loadCache(GridBiPredicate<K,V> p,
long ttl,
Object[] args)
Delegates to
GridCacheStore.loadCache(GridBiInClosure,Object...) method
to load state from the underlying persistent storage. |
GridFuture<?> |
loadCacheAsync(GridBiPredicate<K,V> p,
long ttl,
Object[] args)
Asynchronously delegates to
GridCacheStore.loadCache(GridBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
Set<GridCacheEntry<K,V>> |
nearEntries() |
Set<K> |
nearKeySet(GridPredicate<GridCacheEntry<K,V>> filter) |
int |
nearSize()
Gets size of near cache key set.
|
long |
offHeapAllocatedSize()
Gets memory size allocated in off-heap.
|
long |
offHeapEntriesCount()
Gets number of cache entries stored in off-heap memory.
|
Iterator<Map.Entry<K,V>> |
offHeapIterator()
Gets iterator over keys and values belonging to this cache off-heap memory on local node.
|
void |
onGgfsDataSizeChanged(long delta)
Callback invoked when data is added to GGFS cache.
|
V |
peek(K key,
Collection<GridCachePeekMode> modes)
Peeks at cached value using optional set of peek modes.
|
V |
peek(K key,
GridPredicate<GridCacheEntry<K,V>> filter) |
Map<K,V> |
peekAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridNearCacheEntry<K,V> |
peekExx(K key) |
V |
peekNearOnly(K key)
Peeks only near cache without looking into DHT cache.
|
GridCachePreloader<K,V> |
preloader() |
Set<GridCacheEntry<K,V>> |
primaryEntrySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
Set<K> |
primaryKeySet(GridPredicate<GridCacheEntry<K,V>>... filter) |
int |
primarySize()
Gets size of all primary keys for this cache.
|
Collection<V> |
primaryValues(GridPredicate<GridCacheEntry<K,V>>... filter) |
protected void |
processGetResponse(UUID nodeId,
GridNearGetResponse<K,V> res) |
V |
promote(K key)
This method promotes cache entry from offheap by given key, if any, from offheap or swap storage
into memory.
|
void |
promoteAll(Collection<? extends K> keys)
This method unswaps cache entries by given keys, if any, from swap storage
into memory.
|
GridFuture<Object> |
readThroughAllAsync(Collection<? extends K> keys,
boolean reload,
GridCacheTxEx<K,V> tx,
GridPredicate<GridCacheEntry<K,V>>[] filter,
UUID subjId,
GridBiInClosure<K,V> vis) |
V |
reload(K key,
GridPredicate<GridCacheEntry<K,V>>... filter) |
void |
reloadAll()
Reloads all currently cached keys form persistent storage.
|
void |
reloadAll(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
reloadAllAsync()
Asynchronously reloads all specified entries from underlying
persistent storage.
|
GridFuture<?> |
reloadAllAsync(Collection<? extends K> keys,
GridPredicate<GridCacheEntry<K,V>>... filter) |
GridFuture<?> |
reloadAllAsync(GridPredicate<GridCacheEntry<K,V>> filter) |
void |
resetMetrics()
Resets metrics for current cache.
|
int |
size()
Gets size of cache key set.
|
List<GridCacheClearAllRunnable<K,V>> |
splitClearAll()
Split clear all task into multiple runnables.
|
Iterator<Map.Entry<K,V>> |
swapIterator()
Gets iterator over keys and values belonging to this cache swap space on local node.
|
long |
swapKeys()
Gets number of swap entries (keys).
|
long |
swapSize()
Gets size in bytes for swap space.
|
String |
toString() |
Collection<V> |
values(GridPredicate<GridCacheEntry<K,V>>... filter) |
lockAllAsync, lockAllAsync, removeVersionedEntry, txLockAsyncaffinity, allEntries, asyncOp, asyncOpAcquire, asyncOpRelease, cache, checkJta, clear, clearAll, clearAll, compact, compactAll, compactAll, configuration, containsAllKeys, containsAllValues, containsAnyKeys, containsAnyValues, containsKey, containsValue, containsValue, context, dataStructures, dgc, dgc, entries, entryEx, entryExSafe, entrySet, entrySet, entrySetx, evict, evictAll, evictAll, flags, flagsOff, flagsOn, forAll, forceRepartition, forEach, forSubjectId, get, get, get, getAll, getAll, getAllAsync, getAllAsync, getAllAsync, getAllAsync, getAllOutTx, getAllOutTxAsync, getAsync, getAsync, getForcePrimary, getForcePrimaryAsync, globalClearAll, gridProjection, isColocated, isDht, isDhtAtomic, isDrSystemCache, isEmpty, isLocal, isLockedByThread, iterator, keySet, lock, lockAll, lockAsync, log, map, metrics, metrics0, name, newTx, onDeferredDelete, onKernalStart, onKernalStop, onUndeploy, overflowSize, peek, peek0, peek0, peek0, peekAll0, peekAll0, peekEx, predicate, primaryEntrySet, primaryKeySet, primaryValues, printMemoryStats, processCheckCommittedTxRequest, processCheckCommittedTxResponse, processCheckPreparedTxRequest, processCheckPreparedTxResponse, projection, projection, projection, put, put, putAll, putAllAsync, putAllDr, putAllDrAsync, putAsync, putAsync, putIfAbsent, putIfAbsentAsync, putx, putx, putxAsync, putxAsync, putxIfAbsent, putxIfAbsentAsync, queries, randomEntry, readExternal, readResolve, reload, reloadAll, reloadAll, reloadAll, 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, start, startInfo, stop, stopInfo, toMap, transform, transformAll, transformAll, transformAllAsync, transformAllAsync, transformAndCompute, transformAsync, transformAsync, tx, txStart, txStart, txStart, txStartAffinity, txStartPartition, txSynchronizations, txSynchronize, txUnsynchronize, unlock, 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, waitunlockAlladdMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, putMetaIfAbsent, removeMeta, removeMeta, replaceMetaprotected GridNearCacheAdapter()
Externalizable.protected GridNearCacheAdapter(GridCacheContext<K,V> ctx)
ctx - Context.protected void init()
init in class GridCacheAdapter<K,V>public abstract GridDhtCacheAdapter<K,V> dht()
public boolean isNear()
isNear in class GridCacheAdapter<K,V>True if this is near cache.public void beforePessimisticLock(GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> beforePessimisticLock)
beforePessimisticLock in class GridCacheAdapter<K,V>beforePessimisticLock - Before lock callback.public GridBiClosure<Collection<K>,Boolean,GridFuture<Object>> beforePessimisticLock()
beforePessimisticLock in class GridCacheAdapter<K,V>public void afterPessimisticUnlock(GridInClosure3<K,Boolean,GridCacheOperation> afterPessimisticUnlock)
afterPessimisticUnlock in class GridCacheAdapter<K,V>afterPessimisticUnlock - After unlock callback.public GridInClosure3<K,Boolean,GridCacheOperation> afterPessimisticUnlock()
afterPessimisticUnlock in class GridCacheAdapter<K,V>public GridCachePreloader<K,V> preloader()
preloader in class GridCacheAdapter<K,V>public GridCacheEntryEx<K,V> entryEx(K key, boolean touch)
entryEx in class GridCacheAdapter<K,V>key - Entry key.touch - Whether created entry should be touched.null).public GridCacheEntryEx<K,V> entryEx(K key, long topVer)
entryEx in class GridCacheAdapter<K,V>key - Entry key.topVer - Topology version.null).public GridNearCacheEntry<K,V> entryExx(K key, long topVer)
key - Key.topVer - Topology version.@Nullable public GridNearCacheEntry<K,V> peekExx(K key)
key - Key.public boolean isLocked(K key)
This is a local in-VM operation and does not involve any network trips or access to persistent storage in any way.
isLocked in interface GridCacheProjection<K,V>isLocked in class GridCacheAdapter<K,V>key - Key to check.True if lock is owned by some node.public boolean isLockedNearOnly(K key)
key - Key.public boolean isAllLockedNearOnly(Iterable<? extends K> keys)
keys - Keys.public GridFuture<Object> readThroughAllAsync(Collection<? extends K> keys, boolean reload, GridCacheTxEx<K,V> tx, GridPredicate<GridCacheEntry<K,V>>[] filter, @Nullable UUID subjId, GridBiInClosure<K,V> vis)
readThroughAllAsync in class GridCacheAdapter<K,V>keys - Keys.reload - Reload flag.tx - Transaction.filter - Filter.vis - Visitor.public void reloadAll(@Nullable Collection<? extends K> keys, @Nullable GridPredicate<GridCacheEntry<K,V>>... filter) throws GridException
reloadAll in class GridCacheAdapter<K,V>keys - Keys.filter - Filter to evaluate.GridException - If failed.public GridFuture<?> reloadAllAsync(@Nullable Collection<? extends K> keys, @Nullable GridPredicate<GridCacheEntry<K,V>>... filter)
reloadAllAsync in class GridCacheAdapter<K,V>keys - Keys.filter - Filter to evaluate.public V reload(K key, @Nullable GridPredicate<GridCacheEntry<K,V>>... filter) throws GridException
reload in class GridCacheAdapter<K,V>key - Key.filter - Filter to evaluate.GridException - If failed.public void reloadAll()
throws GridException
reloadAll in interface GridCacheProjection<K,V>reloadAll in class GridCacheAdapter<K,V>GridException - If reloading failed.public GridFuture<?> reloadAllAsync()
reloadAllAsync in interface GridCacheProjection<K,V>reloadAllAsync in class GridCacheAdapter<K,V>reload completes.public GridFuture<?> reloadAllAsync(@Nullable GridPredicate<GridCacheEntry<K,V>> filter)
reloadAllAsync in class GridCacheAdapter<K,V>filter - Filter to evaluate.public GridFuture<Map<K,V>> loadAsync(@Nullable GridCacheTxEx tx, @Nullable Collection<? extends K> keys, boolean reload, boolean forcePrimary, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter, @Nullable UUID subjId)
tx - Transaction.keys - Keys to load.reload - Reload flag.forcePrimary - Force primary flag.filter - Filter.public void loadCache(GridBiPredicate<K,V> p, long ttl, Object[] args) throws GridException
GridCacheStore.loadCache(GridBiInClosure,Object...) method
to load state from the underlying persistent storage. The loaded values
will then be given to the optionally passed in predicate, and, if the predicate returns
true, will be stored in cache. If predicate is null, then
all loaded values will be stored in cache.
Note that this method does not receive keys as a parameter, so it is up to
GridCacheStore implementation to provide all the data to be loaded.
This method is not transactional and may end up loading a stale value into cache if another thread has updated the value immediately after it has been loaded. It is mostly useful when pre-loading the cache from underlying data store before start, or for read-only caches.
loadCache in interface GridCache<K,V>loadCache in class GridCacheAdapter<K,V>p - Optional predicate (may be null). If provided, will be used to
filter values to be put into cache.ttl - Time to live for loaded entries (0 for infinity).args - Optional user arguments to be passed into
GridCacheStore.loadCache(GridBiInClosure, Object...) method.GridException - If loading failed.public GridFuture<?> loadCacheAsync(GridBiPredicate<K,V> p, long ttl, Object[] args)
GridCacheStore.loadCache(GridBiInClosure, Object...) method
to reload state from the underlying persistent storage. The reloaded values
will then be given to the optionally passed in predicate, and if the predicate returns
true, will be stored in cache. If predicate is null, then
all reloaded values will be stored in cache.
Note that this method does not receive keys as a parameter, so it is up to
GridCacheStore implementation to provide all the data to be loaded.
This method is not transactional and may end up loading a stale value into cache if another thread has updated the value immediately after it has been loaded. It is mostly useful when pre-loading the cache from underlying data store before start, or for read-only caches.
loadCacheAsync in interface GridCache<K,V>loadCacheAsync in class GridCacheAdapter<K,V>p - Optional predicate (may be null). If provided, will be used to
filter values to be put into cache.ttl - Time to live for loaded entries (0 for infinity).args - Optional user arguments to be passed into
GridCacheStore.loadCache(GridBiInClosure,Object...) method.public void resetMetrics()
resetMetrics in interface GridCache<K,V>resetMetrics in class GridCacheAdapter<K,V>protected int drBackupQueueSize()
drBackupQueueSize in class GridCacheAdapter<K,V>protected void processGetResponse(UUID nodeId, GridNearGetResponse<K,V> res)
nodeId - Sender ID.res - Response.public int size()
GridCache projection. It is essentially the
size of cache key set and is semantically identical to {GridCache.keySet().size().size in interface GridCacheProjection<K,V>size in class GridCacheAdapter<K,V>public int primarySize()
GridCacheMode.LOCAL mode,
this method is identical to GridCacheProjection.size().
For GridCacheMode.PARTITIONED and GridCacheMode.REPLICATED modes, this method will
return number of primary entries in the cache (excluding any backups). The complexity of this method
is O(P), where P is the total number of partitions.
primarySize in interface GridCacheProjection<K,V>primarySize in class GridCacheAdapter<K,V>public int nearSize()
null values and has O(1) complexity on base cache projection.
Note that for LOCAL caches this method will always return 0
nearSize in interface GridCacheProjection<K,V>nearSize in class GridCacheAdapter<K,V>0 if cache is not GridCacheMode.PARTITIONED.public Set<GridCacheEntry<K,V>> nearEntries()
public Set<GridCacheEntry<K,V>> entrySet(@Nullable GridPredicate<GridCacheEntry<K,V>>... filter)
entrySet in class GridCacheAdapter<K,V>filter - Filters to evaluate.public Set<GridCacheEntry<K,V>> entrySet(int part)
null
if partition not found locally.entrySet in interface GridCacheProjection<K,V>entrySet in class GridCacheAdapter<K,V>part - Partition.null if partition
not found locally.public Set<GridCacheEntry<K,V>> primaryEntrySet(@Nullable GridPredicate<GridCacheEntry<K,V>>... filter)
primaryEntrySet in class GridCacheAdapter<K,V>filter - Filters to evaluate.public Set<K> keySet(@Nullable GridPredicate<GridCacheEntry<K,V>>[] filter)
keySet in class GridCacheAdapter<K,V>filter - Filters to evaluate.public Set<K> nearKeySet(@Nullable GridPredicate<GridCacheEntry<K,V>> filter)
filter - Entry filter.public Set<K> primaryKeySet(@Nullable GridPredicate<GridCacheEntry<K,V>>... filter)
primaryKeySet in class GridCacheAdapter<K,V>filter - Primary key set.public Collection<V> values(GridPredicate<GridCacheEntry<K,V>>... filter)
values in class GridCacheAdapter<K,V>public Collection<V> primaryValues(@Nullable GridPredicate<GridCacheEntry<K,V>>... filter)
primaryValues in class GridCacheAdapter<K,V>filter - Filters to evaluate.public boolean containsKey(K key, GridPredicate<GridCacheEntry<K,V>> filter)
containsKey in class GridCacheAdapter<K,V>key - Key.filter - Filters to evaluate.True if contains key.public boolean evict(K key, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter)
evict in class GridCacheAdapter<K,V>key - Key.filter - Filters to evaluate.True if evicted.public boolean evictNearOnly(K key, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter)
key - Key to evict.filter - Optional filter.True if evicted.public void evictAll(Collection<? extends K> keys, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter)
evictAll in class GridCacheAdapter<K,V>keys - Keys.filter - Filters to evaluate.public boolean compact(K key, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter) throws GridException
compact in class GridCacheAdapter<K,V>key - Key.filter - Filters to evaluate.True if compacted.GridException - If failed.public GridCacheEntry<K,V> entry(K key)
Note that this method can return null if projection is configured as
pre-filtered and entry key and value don't pass key-value filter of the projection.
entry in interface GridCacheProjection<K,V>entry in class GridCacheAdapter<K,V>key - Entry key.null if projection pre-filtering was not passed.@Nullable public V peekNearOnly(K key)
key - Key.public V peek(K key, @Nullable GridPredicate<GridCacheEntry<K,V>> filter)
peek in class GridCacheAdapter<K,V>key - Key.filter - Filter to evaluate.public V peek(K key, @Nullable Collection<GridCachePeekMode> modes) throws GridException
non-null value is found, it will be immediately returned.
Note that if modes are not provided this method works exactly the same way as
GridCacheProjection.peek(Object), implicitly using GridCachePeekMode.SMART mode.
peek in interface GridCacheProjection<K,V>peek in class GridCacheAdapter<K,V>key - Entry key.modes - Optional set of peek modes.GridException - If peek operation failed.public Map<K,V> peekAll(@Nullable Collection<? extends K> keys, @Nullable GridPredicate<GridCacheEntry<K,V>>... filter)
peekAll in class GridCacheAdapter<K,V>public boolean clear0(K key, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter)
clear0 in class GridCacheAdapter<K,V>key - Key.filter - Filters to evaluate.True if cleared.public void clearAll0(Collection<? extends K> keys, @Nullable GridPredicate<GridCacheEntry<K,V>>[] filter)
clearAll0 in class GridCacheAdapter<K,V>keys - Keys.filter - Filters to evaluate.public V promote(K key) throws GridException
GridCacheFlag.SKIP_SWAP, GridCacheFlag.READ.promote in interface GridCacheProjection<K,V>promote in class GridCacheAdapter<K,V>key - Key to promote entry for.null for non-existing key.GridException - If promote failed.public void promoteAll(@Nullable Collection<? extends K> keys) throws GridException
GridCacheFlag.SKIP_SWAP, GridCacheFlag.READ.promoteAll in interface GridCacheProjection<K,V>promoteAll in class GridCacheAdapter<K,V>keys - Keys to promote entries for.GridException - If promote failed.public Iterator<Map.Entry<K,V>> swapIterator() throws GridException
Returned iterator supports remove operation which delegates to
GridCacheProjection.removex(Object, GridPredicate[]) method.
GridCacheFlag.SKIP_SWAP.swapIterator in interface GridCache<K,V>swapIterator in class GridCacheAdapter<K,V>GridException - If failed.GridCacheProjection.promote(Object)public Iterator<Map.Entry<K,V>> offHeapIterator() throws GridException
Returned iterator supports remove operation which delegates to
GridCacheProjection.removex(Object, GridPredicate[]) method.
offHeapIterator in interface GridCache<K,V>offHeapIterator in class GridCacheAdapter<K,V>GridException - If failed.public long offHeapEntriesCount()
offHeapEntriesCount in interface GridCache<K,V>offHeapEntriesCount in class GridCacheAdapter<K,V>public long offHeapAllocatedSize()
offHeapAllocatedSize in interface GridCache<K,V>offHeapAllocatedSize in class GridCacheAdapter<K,V>public long swapSize()
throws GridException
swapSize in interface GridCache<K,V>swapSize in class GridCacheAdapter<K,V>GridException - If failed.public long swapKeys()
throws GridException
swapKeys in interface GridCache<K,V>swapKeys in class GridCacheAdapter<K,V>GridException - If failed.public boolean isGgfsDataCache()
isGgfsDataCache in interface GridCacheProjectionEx<K,V>isGgfsDataCache in class GridCacheAdapter<K,V>True in case this cache is GGFS data cache.public long ggfsDataSpaceUsed()
ggfsDataSpaceUsed in interface GridCacheProjectionEx<K,V>ggfsDataSpaceUsed in class GridCacheAdapter<K,V>public long ggfsDataSpaceMax()
ggfsDataSpaceMax in interface GridCacheProjectionEx<K,V>ggfsDataSpaceMax in class GridCacheAdapter<K,V>public void onGgfsDataSizeChanged(long delta)
onGgfsDataSizeChanged in class GridCacheAdapter<K,V>delta - Size delta.public boolean isMongoDataCache()
isMongoDataCache in interface GridCacheProjectionEx<K,V>isMongoDataCache in class GridCacheAdapter<K,V>True if this cache is mongo data cache.public boolean isMongoMetaCache()
isMongoMetaCache in interface GridCacheProjectionEx<K,V>isMongoMetaCache in class GridCacheAdapter<K,V>True if this cache is mongo meta cache.public List<GridCacheClearAllRunnable<K,V>> splitClearAll()
splitClearAll in class GridCacheAdapter<K,V>public GridFuture<?> drStateTransfer(Collection<Byte> dataCenterIds)
drStateTransfer in interface GridCacheProjectionEx<K,V>drStateTransfer in class GridCacheAdapter<K,V>dataCenterIds - Data center IDs for which full state transfer was requested.public Collection<GridDrStateTransferDescriptor> drListStateTransfers()
drListStateTransfers in interface GridCacheProjectionEx<K,V>drListStateTransfers in class GridCacheAdapter<K,V>public void drPause()
drPause in interface GridCacheProjectionEx<K,V>drPause in class GridCacheAdapter<K,V>public void drResume()
drResume in interface GridCacheProjectionEx<K,V>drResume in class GridCacheAdapter<K,V>@Nullable public GridDrStatus drPauseState()
drPauseState in interface GridCacheProjectionEx<K,V>drPauseState in class GridCacheAdapter<K,V>public String toString()
toString in class GridDistributedCacheAdapter<K,V>Copyright © 2014. All rights reserved.