public static class AbstractSubscriptionScheduledActionCmdImpl.StackEntry
extends java.lang.Object
Constructor and Description |
---|
StackEntry(java.lang.Integer previousState,
java.lang.Integer newState,
java.lang.Integer dataBaseState,
TransactionHandle handle)
Constructs a stack entry.
|
Modifier and Type | Method and Description |
---|---|
int |
bumpRetryCount()
This method increments the retry count for the state.
|
java.lang.Integer |
getNewState()
Returns the new state of the subscription.
|
java.lang.Integer |
getPreviousDBState()
Returns the transient state in the database when the stack entry was
created.
|
java.lang.Integer |
getPreviousState()
Returns the previous state of the subscription.
|
int |
getRetryCount()
This method returns the current retry count for the state.
|
TransactionHandle |
getTransactionHandle()
Return the handle to the transaction.
|
boolean |
isCompleted()
This method returns if the stack entry is completed or not.
|
java.lang.String |
toString()
This method returns the human readable description of the receiver.
|
public StackEntry(java.lang.Integer previousState, java.lang.Integer newState, java.lang.Integer dataBaseState, TransactionHandle handle)
previousState
- The previous state in the process.newState
- The new state or the state being processed.dataBaseState
- The transient state in the data base when the stack entry
was created.handle
- The handle to the transaction.public java.lang.Integer getNewState()
public java.lang.Integer getPreviousState()
public java.lang.Integer getPreviousDBState()
public TransactionHandle getTransactionHandle()
public int bumpRetryCount()
public int getRetryCount()
public boolean isCompleted()
public java.lang.String toString()
toString
in class java.lang.Object