Class WarmerListActionResponse
java.lang.Object
org.frontcache.io.ActionResponse
org.frontcache.io.WarmerListActionResponse
get-warmer-list, put-warmer-list and delete-warmer-list: one list.
currentHash is filled only when a write was refused because the list changed since it was
read - the same optimistic-concurrency answer set-config gives.-
Field Summary
Fields inherited from class ActionResponse
RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()booleanMarks this response a refusal: ERROR status, with the reason.voidsetCurrentHash(String currentHash) voidsetDeleted(boolean deleted) voidsetList(WarmerListView list) voidsetWritten(WarmerListInfo written) Methods inherited from class ActionResponse
getAction, getErrorDescription, getResponseStatus, setAction, setErrorDescription, setResponseStatus
-
Constructor Details
-
WarmerListActionResponse
public WarmerListActionResponse() -
WarmerListActionResponse
-
-
Method Details
-
refuse
Marks this response a refusal: ERROR status, with the reason. -
getList
-
setList
-
getWritten
-
setWritten
-
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean deleted) -
getCurrentHash
-
setCurrentHash
-