...
Response | |
BinaryObject | Previously 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 |
byte | flags |
BinaryObject | key |
BinaryObject | value |
...
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 |
byte | flags |
BinaryObject | key |
BinaryObject | value |
BinaryObject | new value |
Response | |
bool | value 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 |
byte | flags |
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 |
byte | flags |
BinaryObject | key |
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 |
byte | flags |
int | Key count |
BinaryObject * count | keys |
Empy response.
TODO: Other operations
...