org.shoal.ha.cache.impl.util
Class CumulativeCommandResponse

java.lang.Object
  extended by org.shoal.ha.cache.impl.util.CommandResponse
      extended by 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
CumulativeCommandResponse(ResponseMediator mediator, int maxResponse, java.lang.Object initialValue)
           
 
Method Summary
 void setResult(java.lang.Object v)
           
protected  void updateResult(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CumulativeCommandResponse

public CumulativeCommandResponse(ResponseMediator mediator,
                                 int maxResponse,
                                 java.lang.Object initialValue)
Method Detail

setResult

public void setResult(java.lang.Object v)
Overrides:
setResult in class CommandResponse

updateResult

protected void updateResult(java.lang.Object oldValue,
                            java.lang.Object newValue)


Copyright © 2012. All Rights Reserved.