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

java.lang.Object
  extended by org.shoal.ha.cache.impl.util.CommandResponse
All Implemented Interfaces:
java.util.concurrent.Callable

public class CommandResponse
extends java.lang.Object
implements java.util.concurrent.Callable

Author:
Mahesh Kannan

Constructor Summary
CommandResponse(ResponseMediator mediator)
           
 
Method Summary
 java.lang.Object call()
           
 java.util.concurrent.FutureTask getFuture()
           
 java.lang.String getRespondingInstanceName()
           
 long getTokenId()
           
 void setException(java.lang.Exception ex)
           
 void setRespondingInstanceName(java.lang.String respondingInstanceName)
           
 void setResult(java.lang.Object v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandResponse

public CommandResponse(ResponseMediator mediator)
Method Detail

getTokenId

public long getTokenId()

getFuture

public java.util.concurrent.FutureTask getFuture()

setResult

public void setResult(java.lang.Object v)

setException

public void setException(java.lang.Exception ex)

getRespondingInstanceName

public java.lang.String getRespondingInstanceName()

setRespondingInstanceName

public void setRespondingInstanceName(java.lang.String respondingInstanceName)

call

public java.lang.Object call()
Specified by:
call in interface java.util.concurrent.Callable


Copyright © 2010. All Rights Reserved.