cartago
Class PendingOp

java.lang.Object
  extended by cartago.PendingOp

public class PendingOp
extends java.lang.Object

Keeps track of a pending linked operation in inter-artifact operation execution.

Author:
aricci

Constructor Summary
PendingOp(long actionId)
           
 
Method Summary
 long getActionId()
           
 java.lang.String getFailure()
           
 Tuple getFailureDesc()
           
 boolean hasCompleted()
           
 boolean hasSucceeded()
           
 void notifyOpFailure(java.lang.String reason, Tuple desc)
           
 void notifyOpSuccess()
           
 void waitForCompletion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PendingOp

public PendingOp(long actionId)
Method Detail

getActionId

public long getActionId()

hasCompleted

public boolean hasCompleted()

hasSucceeded

public boolean hasSucceeded()

getFailure

public java.lang.String getFailure()

getFailureDesc

public Tuple getFailureDesc()

waitForCompletion

public void waitForCompletion()

notifyOpFailure

public void notifyOpFailure(java.lang.String reason,
                            Tuple desc)

notifyOpSuccess

public void notifyOpSuccess()


>DEIS - University of Bologna