Versions Compared

Key

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

...

Response
BinaryObjectPreviously contained value regardless of whether put happened or not.


 

 

OP_CACHE_REPLACE = 18 

Puts a value with a given key to cache only if the key already exists. 

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

...

OP_CACHE_REPLACE_IF_EQUALS = 19  

Puts a value with a given key to cache only if the key already exists and value equals provided value. 

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


 

OP_CACHE_CLEAR = 21

Clears the cache without notifying listeners or cache writers.

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

Empy response.


 

OP_CACHE_CLEAR_KEY = 22

 

Clears the cache key without notifying listeners or cache writers.

 

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

 

Empy response.

 

 

OP_CACHE_CLEAR_KEYS = 23 

 

Clears the cache keys without notifying listeners or cache writers. 

 

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

 

Empy response.

 

 

 



TODO: Other operations

Message Exchange Example

...