Package org.shoal.ha.cache.impl.util
Class CumulativeCommandResponse
- java.lang.Object
-
- org.shoal.ha.cache.impl.util.CommandResponse
-
- org.shoal.ha.cache.impl.util.CumulativeCommandResponse
-
- All Implemented Interfaces:
java.util.concurrent.Callable
public class CumulativeCommandResponse extends CommandResponse
- Author:
- Mahesh Kannan
-
-
Field Summary
-
Fields inherited from class org.shoal.ha.cache.impl.util.CommandResponse
expectedUpdateCount, result
-
-
Constructor Summary
Constructors Constructor Description CumulativeCommandResponse(ResponseMediator mediator, int maxResponse, java.lang.Object initialValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetResult(java.lang.Object v)protected voidupdateResult(java.lang.Object oldValue, java.lang.Object newValue)-
Methods inherited from class org.shoal.ha.cache.impl.util.CommandResponse
call, decrementAndGetExpectedUpdateCount, getExpectedUpdateCount, getFuture, getRespondingInstanceName, getTokenId, getTransientResult, setException, setExpectedUpdateCount, setRespondingInstanceName, setTransientResult
-
-
-
-
Constructor Detail
-
CumulativeCommandResponse
public CumulativeCommandResponse(ResponseMediator mediator, int maxResponse, java.lang.Object initialValue)
-
-
Method Detail
-
setResult
public void setResult(java.lang.Object v)
- Overrides:
setResultin classCommandResponse
-
updateResult
protected void updateResult(java.lang.Object oldValue, java.lang.Object newValue)
-
-