public static class Subprocedure.SubprocedureImpl extends Subprocedure
Subprocedure.SubprocedureImplexecutionTimeoutTimer, monitor, rpcs, wakeFrequency| Constructor and Description | 
|---|
| SubprocedureImpl(ProcedureMember member,
                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(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, getErrorCheckable, getMemberName, getName, isComplete, receiveReachedGlobalBarrier, waitForLocallyCompleted, waitForReachedGlobalBarrierpublic SubprocedureImpl(ProcedureMember member, 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(Exception e)
SubprocedureSubprocedure.acquireBarrier() may have
 created.cleanup in class SubprocedureCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.