|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sandesha2.util.TerminateManager
public class TerminateManager
Contains logic to remove all the storad data of a sequence. Methods of this are called by sending side and the receiving side when appropriate
| Constructor Summary | |
|---|---|
TerminateManager()
|
|
| Method Summary | |
|---|---|
static void |
addTerminateSequenceMessage(RMMsgContext referenceMessage,
java.lang.String internalSequenceID,
java.lang.String outSequenceId,
StorageManager storageManager)
|
static void |
checkAndTerminate(org.apache.axis2.context.ConfigurationContext configurationContext,
StorageManager storageManager,
RMSBean rmsBean)
|
static void |
cleanReceivingSideAfterInvocation(java.lang.String sequenceId,
StorageManager storageManager)
When InOrder invocation is anabled this had to be called to clean the data left by the above method. |
static void |
cleanReceivingSideOnTerminateMessage(org.apache.axis2.context.ConfigurationContext configContext,
java.lang.String sequenceId,
StorageManager storageManager)
Called by the receiving side to remove data related to a sequence. e.g. |
static boolean |
terminateSendingSide(RMSBean rmsBean,
StorageManager storageManager,
boolean reallocate,
Transaction transaction)
This is called by the sending side to clean data related to a sequence. |
static void |
timeOutSendingSideSequence(java.lang.String internalSequenceId,
StorageManager storageManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TerminateManager()
| Method Detail |
|---|
public static void checkAndTerminate(org.apache.axis2.context.ConfigurationContext configurationContext,
StorageManager storageManager,
RMSBean rmsBean)
throws SandeshaStorageException,
org.apache.axis2.AxisFault
SandeshaStorageException
org.apache.axis2.AxisFault
public static void cleanReceivingSideOnTerminateMessage(org.apache.axis2.context.ConfigurationContext configContext,
java.lang.String sequenceId,
StorageManager storageManager)
throws SandeshaException
configContext - sequenceID -
SandeshaException
public static void cleanReceivingSideAfterInvocation(java.lang.String sequenceId,
StorageManager storageManager)
throws SandeshaException
sequenceID -
SandeshaException
public static boolean terminateSendingSide(RMSBean rmsBean,
StorageManager storageManager,
boolean reallocate,
Transaction transaction)
throws SandeshaException
configContext - sequenceID -
SandeshaException
public static void timeOutSendingSideSequence(java.lang.String internalSequenceId,
StorageManager storageManager)
throws SandeshaException
SandeshaException
public static void addTerminateSequenceMessage(RMMsgContext referenceMessage,
java.lang.String internalSequenceID,
java.lang.String outSequenceId,
StorageManager storageManager)
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||