net.spy.memcached.ops
Class OperationStatus

java.lang.Object
  extended by net.spy.memcached.ops.OperationStatus
Direct Known Subclasses:
CancelledOperationStatus, CASOperationStatus

public class OperationStatus
extends Object

Status indicator.


Constructor Summary
OperationStatus(boolean success, String msg)
           
 
Method Summary
 String getMessage()
          Get the message included as part of this status.
 boolean isSuccess()
          Does this status indicate success?
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationStatus

public OperationStatus(boolean success,
                       String msg)
Method Detail

isSuccess

public boolean isSuccess()
Does this status indicate success?


getMessage

public String getMessage()
Get the message included as part of this status.


toString

public String toString()
Overrides:
toString in class Object