| Apache Ignite C++

Public Types | List of all members
ignite::thin::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 }

## Detailed Description

Enumeration of all supported cache peek modes.

## Member Enumeration Documentation

## ◆ Type

enum ignite::thin::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.

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

- thin-client/include/ignite/thin/cache/cache_peek_mode.h