Namespaces | Classes | Enumerations
GridGain.Cache Namespace Reference

Main Data Grid APIs. More...

Namespaces

namespace  Event
 Cache events API.
 
namespace  Expiry
 Cache expiration API.
 
namespace  Query
 APIs for creating and executing cache queries.
 
namespace  Store
 Cache store interfaces and adapters.
 

Classes

class  CacheAtomicUpdateTimeoutException
 Indicates atomic operation timeout. More...
 
class  CacheEntryProcessorException
 An exception to indicate a problem occurred attempting to execute an ICacheEntryProcessor<K, V, A, R> against an entry. More...
 
class  CacheException
 Indicates an error during Cache operation. More...
 
class  CachePartialUpdateException
 Exception thrown from non-transactional cache in case when update succeeded only partially. More...
 
interface  ICache
 Main entry point for all Data Grid APIs. You can get a named cache by calling GridGain.IGrid.Cache<K, V>(string) method. More...
 
interface  ICacheAffinity
 Provides affinity information to detect which node is primary and which nodes are backups for a partitioned cache. You can get an instance of this interface by calling IGrid.Affinity(string) method. More...
 
interface  ICacheEntry
 Cache entry interface. More...
 
interface  ICacheEntryFilter
 Cache entry predicate. More...
 
interface  ICacheEntryProcessor
 An invocable function that allows applications to perform compound operations on a cache entry atomically, according the defined consistency of a cache. More...
 
interface  ICacheEntryProcessorResult
 Represents a result of processing ICacheEntry<K, V> by ICacheEntryProcessor<K, V, A, R>. More...
 
interface  ICacheLock
 Cache locking interface. All members are thread-safe and may be used concurrently from multiple threads. More...
 
interface  ICacheMetrics
 Cache metrics used to obtain statistics on cache itself. More...
 
interface  IContinuousQueryHandle
 Represents a continuous query handle. More...
 
interface  IMutableCacheEntry
 Mutable representation of ICacheEntry<K, V> More...
 

Enumerations

enum  CachePeekMode {
  CachePeekMode.ALL = 0x01, CachePeekMode.NEAR = 0x02, CachePeekMode.PRIMARY = 0x04, CachePeekMode.BACKUP = 0x08,
  CachePeekMode.ONHEAP = 0x10, CachePeekMode.OFFHEAP = 0x20, CachePeekMode.SWAP = 0x40
}
 Enumeration of all supported cache peek modes. More...
 

Detailed Description

Enumeration Type Documentation

Enumerator
ALL 

Peeks into all available cache storages.

NEAR 

Peek into near cache only (don't peek into partitioned cache). In case of LOCAL cache, behaves as ALL mode.

PRIMARY 

Peek value from primary copy of partitioned cache only (skip near cache). In case of LOCAL cache, behaves as ALL mode.

BACKUP 

Peek value from backup copies of partitioned cache only (skip near cache). In case of LOCAL cache, behaves as ALL mode.

ONHEAP 

Peeks value from the on-heap storage only.

OFFHEAP 

Peeks value from the off-heap storage only, without loading off-heap value into cache.

SWAP 

Peeks value from the swap storage only, without loading swapped value into cache.