| Apache Ignite C++

Public Types | List of all members
ignite::cache::CachePeekMode Struct Reference

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 }

## Detailed Description

Enumeration of all supported cache peek modes.

## Member Enumeration Documentation

## ◆ Type

enum ignite::cache::CachePeekMode::Type

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.

The documentation for this struct was generated from the following file:

- core/include/ignite/cache/cache_peek_mode.h