public static class Subprocedure.SubprocedureImpl extends Subprocedure
Subprocedure.SubprocedureImplexecutionTimeoutTimer, monitor, rpcs, wakeFrequency| Constructor and Description |
|---|
SubprocedureImpl(ProcedureMember member,
java.lang.String opName,
ForeignExceptionDispatcher monitor,
long wakeFrequency,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireBarrier()
The implementation of this method should gather and hold required resources (locks, disk
space, etc) to satisfy the Procedures barrier condition.
|
void |
cleanup(java.lang.Exception e)
Users should override this method.
|
byte[] |
insideBarrier()
The implementation of this method should act with the assumption that the barrier condition
has been satisfied.
|
call, cancel, getMemberName, getName, receiveReachedGlobalBarrier, waitForLocallyCompletedpublic SubprocedureImpl(ProcedureMember member, java.lang.String opName, ForeignExceptionDispatcher monitor, long wakeFrequency, long timeout)
public void acquireBarrier()
throws ForeignException
SubprocedureacquireBarrier in class SubprocedureForeignExceptionpublic byte[] insideBarrier()
throws ForeignException
SubprocedureinsideBarrier in class SubprocedureForeignExceptionpublic void cleanup(java.lang.Exception e)
SubprocedureSubprocedure.acquireBarrier() may have
created.cleanup in class Subprocedure