com.hazelcast.internal.ascii
public interface TextCommandService
Modifier and Type | Method and Description |
---|---|
Object |
delete(String mapName,
String key) |
void |
deleteAll(String mapName) |
Object |
get(String mapName,
String key) |
int |
getAdjustedTTLSeconds(int ttl) |
byte[] |
getByteArray(String mapName,
String key) |
Node |
getNode() |
Stats |
getStats() |
long |
incrementDecrHitCount() |
long |
incrementDecrMissCount() |
long |
incrementDeleteHitCount(int inc) |
long |
incrementDeleteMissCount() |
long |
incrementGetHitCount() |
long |
incrementGetMissCount() |
long |
incrementIncHitCount() |
long |
incrementIncMissCount() |
long |
incrementSetCount() |
long |
incrementTouchCount() |
void |
lock(String mapName,
String key) |
boolean |
offer(String queueName,
Object value) |
Object |
poll(String queueName) |
Object |
poll(String queueName,
int seconds) |
void |
processRequest(TextCommand command) |
Object |
put(String mapName,
String key,
Object value) |
Object |
put(String mapName,
String key,
Object value,
int ttlSeconds) |
Object |
putIfAbsent(String mapName,
String key,
Object value,
int ttlSeconds) |
Object |
replace(String mapName,
String key,
Object value) |
void |
sendResponse(TextCommand textCommand) |
int |
size(String queueName)
Returns the size of the distributed queue instance with the specified name
|
byte[] |
toByteArray(Object value) |
void |
unlock(String mapName,
String key) |
void processRequest(TextCommand command)
void sendResponse(TextCommand textCommand)
void lock(String mapName, String key) throws InterruptedException
InterruptedException
int getAdjustedTTLSeconds(int ttl)
long incrementDeleteHitCount(int inc)
long incrementDeleteMissCount()
long incrementGetHitCount()
long incrementGetMissCount()
long incrementSetCount()
long incrementIncHitCount()
long incrementIncMissCount()
long incrementDecrHitCount()
long incrementDecrMissCount()
long incrementTouchCount()
int size(String queueName)
queueName
- name of the distributed queuevoid deleteAll(String mapName)
Stats getStats()
Node getNode()
byte[] toByteArray(Object value)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.