Versions Compared

Key

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

...

Request
int
Cache ID: Java-style hash code of the cache name
byteflags
intKey count
BinaryObject * countkeys

 

Empy response.

 

 

OP_CACHE_REMOVE_KEY = 24

Removes an entry with a given key, notifying listeners and cache writers.

Request
int
Cache ID: Java-style hash code of the cache name
byteflags
BinaryObjectkey
Response
boolvalue indicating whether remove happened



 

OP_CACHE_REMOVE_IF_EQUALS = 25

 

Removes an entry with a given key if provided value is equal to actual value, notifying listeners and cache writers.

 

Request
int
Cache ID: Java-style hash code of the cache name
byteflags
BinaryObjectkey
BinaryObjectvalue

 

 

 

Response
boolvalue indicating whether remove happened

 


 


 

OP_CACHE_GET_SIZE = 26 

 

Gets the cache size. 

 

Request
int
Cache ID: Java-style hash code of the cache name
byteflags
intPeek mode count. Can be 0, which means ALL.
byte * countPeek modes. ALL = 0, NEAR = 1, PRIMARY = 2, BACKUP = 3

 

 

 

Response
longCache size


 




TODO: Other operations

Message Exchange Example

...