public final class ResponseMessage extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
CommandMessage |
cmd |
SpaceCache.DeleteResponse |
deleteResponse |
LocalCacheElement[] |
elements |
boolean |
flushSuccess |
Integer |
incrDecrResponse |
SpaceCache.StoreResponse |
response |
Map<String,Set<String>> |
stats |
String |
version |
Constructor and Description |
---|
ResponseMessage(CommandMessage cmd) |
Modifier and Type | Method and Description |
---|---|
ResponseMessage |
withDeleteResponse(SpaceCache.DeleteResponse deleteResponse) |
ResponseMessage |
withElements(LocalCacheElement[] elements) |
ResponseMessage |
withFlushResponse(boolean success) |
ResponseMessage |
withIncrDecrResponse(Integer incrDecrResp) |
ResponseMessage |
withResponse(SpaceCache.StoreResponse response) |
ResponseMessage |
withStatResponse(Map<String,Set<String>> stats) |
public CommandMessage cmd
public LocalCacheElement[] elements
public SpaceCache.StoreResponse response
public String version
public SpaceCache.DeleteResponse deleteResponse
public Integer incrDecrResponse
public boolean flushSuccess
public ResponseMessage(CommandMessage cmd)
public ResponseMessage withElements(LocalCacheElement[] elements)
public ResponseMessage withResponse(SpaceCache.StoreResponse response)
public ResponseMessage withDeleteResponse(SpaceCache.DeleteResponse deleteResponse)
public ResponseMessage withIncrDecrResponse(Integer incrDecrResp)
public ResponseMessage withStatResponse(Map<String,Set<String>> stats)
public ResponseMessage withFlushResponse(boolean success)
Copyright © GigaSpaces.