THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Request | |
int | Cache ID: Java-style hash code of the cache name |
byte | flags |
int | Key count |
BinaryObject * count | keys |
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 |
byte | flags |
BinaryObject | key |
Response | |
bool | value 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 |
byte | flags |
BinaryObject | key |
BinaryObject | value |
Response | |
bool | value 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 |
byte | flags |
int | Peek mode count. Can be 0, which means ALL. |
byte * count | Peek modes. ALL = 0, NEAR = 1, PRIMARY = 2, BACKUP = 3 |
Response | |
long | Cache size |
TODO: Other operations
...