public class TextCommandServiceImpl extends Object implements TextCommandService
| Constructor and Description |
|---|
TextCommandServiceImpl(Node node) |
public TextCommandServiceImpl(Node node)
public Node getNode()
getNode in interface TextCommandServicepublic byte[] toByteArray(Object value)
toByteArray in interface TextCommandServicepublic Stats getStats()
getStats in interface TextCommandServicepublic long incrementDeleteHitCount(int inc)
incrementDeleteHitCount in interface TextCommandServicepublic long incrementDeleteMissCount()
incrementDeleteMissCount in interface TextCommandServicepublic long incrementGetHitCount()
incrementGetHitCount in interface TextCommandServicepublic long incrementGetMissCount()
incrementGetMissCount in interface TextCommandServicepublic long incrementSetCount()
incrementSetCount in interface TextCommandServicepublic long incrementIncHitCount()
incrementIncHitCount in interface TextCommandServicepublic long incrementIncMissCount()
incrementIncMissCount in interface TextCommandServicepublic long incrementDecrHitCount()
incrementDecrHitCount in interface TextCommandServicepublic long incrementDecrMissCount()
incrementDecrMissCount in interface TextCommandServicepublic long incrementTouchCount()
incrementTouchCount in interface TextCommandServicepublic void processRequest(TextCommand command)
processRequest in interface TextCommandServicepublic Object get(String mapName, String key)
get in interface TextCommandServicepublic Map<String,Object> getAll(String mapName, Set<String> keys)
getAll in interface TextCommandServicepublic int getAdjustedTTLSeconds(int ttl)
getAdjustedTTLSeconds in interface TextCommandServicepublic byte[] getByteArray(String mapName, String key)
getByteArray in interface TextCommandServicepublic Object put(String mapName, String key, Object value)
put in interface TextCommandServicepublic Object put(String mapName, String key, Object value, int ttlSeconds)
put in interface TextCommandServicepublic Object putIfAbsent(String mapName, String key, Object value, int ttlSeconds)
putIfAbsent in interface TextCommandServicepublic Object replace(String mapName, String key, Object value)
replace in interface TextCommandServicepublic void lock(String mapName, String key) throws InterruptedException
lock in interface TextCommandServiceInterruptedExceptionpublic void unlock(String mapName, String key)
unlock in interface TextCommandServicepublic void deleteAll(String mapName)
deleteAll in interface TextCommandServicepublic Object delete(String mapName, String key)
delete in interface TextCommandServicepublic boolean offer(String queueName, Object value)
offer in interface TextCommandServicepublic Object poll(String queueName, int seconds)
poll in interface TextCommandServicepublic Object poll(String queueName)
poll in interface TextCommandServicepublic int size(String queueName)
TextCommandServicesize in interface TextCommandServicequeueName - name of the distributed queuepublic void sendResponse(TextCommand textCommand)
sendResponse in interface TextCommandServicepublic void stop()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.