![]() |
GridGain C++
|
Enumeration of all supported cache peek modes. More...
#include <cache_peek_mode.h>
Public Types | |
enum | Type { ALL = 0x01, NEAR_CACHE = 0x02, PRIMARY = 0x04, BACKUP = 0x08, ONHEAP = 0x10, OFFHEAP = 0x20, SWAP = 0x40 } |
Enumeration of all supported cache peek modes.
Enumerator | |
---|---|
ALL | Peeks into all available cache storages. |
NEAR_CACHE | Peek into near cache only (don't peek into partitioned cache). In case of LOCAL cache, behaves as CachePeekMode::ALL mode. |
PRIMARY | Peek value from primary copy of partitioned cache only (skip near cache). In case of LOCAL cache, behaves as CachePeekMode::ALL mode. |
BACKUP | Peek value from backup copies of partitioned cache only (skip near cache). In case of LOCAL cache, behaves as CachePeekMode::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. |