org.openspaces.memcached.protocol
Class ResponseMessage
java.lang.Object
org.openspaces.memcached.protocol.ResponseMessage
- All Implemented Interfaces:
- Serializable
public final class ResponseMessage
- extends Object
- implements Serializable
Represents the response to a command.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cmd
public CommandMessage cmd
elements
public LocalCacheElement[] elements
response
public SpaceCache.StoreResponse response
stats
public Map<String,Set<String>> stats
version
public String version
deleteResponse
public SpaceCache.DeleteResponse deleteResponse
incrDecrResponse
public Integer incrDecrResponse
flushSuccess
public boolean flushSuccess
ResponseMessage
public ResponseMessage(CommandMessage cmd)
withElements
public ResponseMessage withElements(LocalCacheElement[] elements)
withResponse
public ResponseMessage withResponse(SpaceCache.StoreResponse response)
withDeleteResponse
public ResponseMessage withDeleteResponse(SpaceCache.DeleteResponse deleteResponse)
withIncrDecrResponse
public ResponseMessage withIncrDecrResponse(Integer incrDecrResp)
withStatResponse
public ResponseMessage withStatResponse(Map<String,Set<String>> stats)
withFlushResponse
public ResponseMessage withFlushResponse(boolean success)
Copyright © GigaSpaces.