Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Response
intCache count
string * count
Cache names


OP_CACHE_GET_CONFIGURATION = 33

Gets cache configuration

Request
intCache ID: Java-style hash code of the cache name

 

Response
CacheConfigurationSee below

Cache configuration is sent and received by server in the following format:

CacheConfiguration
intLength of the configuration, in bytes
intCacheAtomicityMode, TRANSACTIONAL = 0, ATOMIC = 1
intBackups
intCacheMode, LOCAL = 0, REPLICATED = 1, PARTITIONED = 2
boolCopyOnRead
stringDataRegionName
boolEagerTtl
boolStatisticsEnabled
stringGroupName
boolinvalidate
longDefaultLockTimeout (milliseconds)
intMaxConcurrentAsyncOperations
intMaxQueryIterators
stringName
boolIsOnheapcacheEnabled
intPartitionLossPolicy, READ_ONLY_SAFE = 0, READ_ONLY_ALL = 1, READ_WRITE_SAFE = 2, READ_WRITE_ALL = 3, IGNORE = 4



TODO: Other operations

Message Exchange Example

...