Uses of Interface
net.officefloor.frame.internal.structure.FunctionState
-
-
Uses of FunctionState in net.officefloor.frame.impl.execute.asset
Classes in net.officefloor.frame.impl.execute.asset that implement FunctionState Modifier and Type Class Description classAssetManagerImplAssetManagerimplementation.Methods in net.officefloor.frame.impl.execute.asset that return FunctionState Modifier and Type Method Description FunctionStateAssetLatchImpl. awaitOnAsset(FunctionState function)FunctionStateAssetManagerImpl. execute(FunctionStateContext context)Methods in net.officefloor.frame.impl.execute.asset with parameters of type FunctionState Modifier and Type Method Description FunctionStateAssetLatchImpl. awaitOnAsset(FunctionState function)voidAssetLatchImpl. releaseFunctions(boolean isPermanent, FunctionState functionState) -
Uses of FunctionState in net.officefloor.frame.impl.execute.flow
Methods in net.officefloor.frame.impl.execute.flow that return FunctionState Modifier and Type Method Description FunctionStateFlowImpl. cancel()FunctionStateFlowImpl. createFunction(FunctionLogic logic)FunctionStateFlowImpl. managedFunctionComplete(FunctionState function, java.lang.Throwable functionEscalation, EscalationCompletion escalationCompletion)Methods in net.officefloor.frame.impl.execute.flow with parameters of type FunctionState Modifier and Type Method Description FunctionStateFlowImpl. managedFunctionComplete(FunctionState function, java.lang.Throwable functionEscalation, EscalationCompletion escalationCompletion) -
Uses of FunctionState in net.officefloor.frame.impl.execute.function
Classes in net.officefloor.frame.impl.execute.function that implement FunctionState Modifier and Type Class Description classAbstractDelegateFunctionStateAbstractFunctionStatethat delegates functionality to a delegateFunctionState.classAbstractFunctionStateAbstractFunctionState.classLinkedListSetPromise<I,E>classManagedFunctionContainerImpl<M extends ManagedFunctionLogicMetaData>FunctionStateto execute aManagedFunctionLogic.Fields in net.officefloor.frame.impl.execute.function declared as FunctionState Modifier and Type Field Description protected FunctionStateAbstractDelegateFunctionState. delegateDelegateFunctionState.Methods in net.officefloor.frame.impl.execute.function that return FunctionState Modifier and Type Method Description static <E extends LinkedListSetEntry<E,O>,O>
FunctionStateLinkedListSetPromise. all(LinkedListSet<E,O> linkedListSet, LinkedListSetPromise.Translate<E> translate)Executes aFunctionStatefor all entries of theLinkedListSet.FunctionStateAbstractDelegateFunctionState. cancel()FunctionStateManagedFunctionContainerImpl. cancel()FunctionStateAbstractDelegateFunctionState. execute(FunctionStateContext context)FunctionStateLinkedListSetPromise. execute(FunctionStateContext context)FunctionStateManagedFunctionContainerImpl. execute(FunctionStateContext context)FunctionStateSpawnThreadFunctionLogic. execute(Flow flow)FunctionStateSynchroniseProcessStateFunctionLogic. execute(Flow flow)FunctionStateAbstractDelegateFunctionState. handleEscalation(java.lang.Throwable escalation, EscalationCompletion completion)FunctionStateManagedFunctionContainerImpl. handleEscalation(java.lang.Throwable escalation, EscalationCompletion completion)static <E extends LinkedListSetEntry<E,O>,O>
FunctionStateLinkedListSetPromise. purge(LinkedListSet<E,O> linkedListSet, LinkedListSetPromise.Translate<E> translate)Purges theLinkedListSetand executes aFunctionStatefor each item.static FunctionStatePromise. then(FunctionState function, FunctionState thenFunction)Execute theFunctionStatethen theFunctionState.FunctionStateLinkedListSetPromise.Translate. translate(E entry)Translates the entry to aFunctionState.Methods in net.officefloor.frame.impl.execute.function with parameters of type FunctionState Modifier and Type Method Description static FunctionStatePromise. then(FunctionState function, FunctionState thenFunction)Execute theFunctionStatethen theFunctionState.Constructors in net.officefloor.frame.impl.execute.function with parameters of type FunctionState Constructor Description AbstractDelegateFunctionState(FunctionState delegate)Instantiate.ManagedFunctionContainerImpl(FunctionState setupFunction, ManagedFunctionLogic managedFunctionLogic, ManagedFunctionBoundManagedObjects boundManagedObjects, ManagedObjectIndex[] requiredManagedObjects, boolean[] requiredGovernance, boolean isEnforceGovernance, M functionLogicMetaData, BlockState parallelOwner, Flow flow, boolean isUnloadManagedObjects)Initiate. -
Uses of FunctionState in net.officefloor.frame.impl.execute.governance
Methods in net.officefloor.frame.impl.execute.governance that return FunctionState Modifier and Type Method Description FunctionStateGovernanceContainerImpl. deactivateGovernance() -
Uses of FunctionState in net.officefloor.frame.impl.execute.job
Methods in net.officefloor.frame.impl.execute.job with parameters of type FunctionState Modifier and Type Method Description voidFunctionLoopImpl. delegateFunction(FunctionState function)voidFunctionLoopImpl. executeFunction(FunctionState function) -
Uses of FunctionState in net.officefloor.frame.impl.execute.managedobject
Methods in net.officefloor.frame.impl.execute.managedobject that return FunctionState Modifier and Type Method Description FunctionStateManagedObjectContainerImpl. checkReady(ManagedObjectReadyCheck check)FunctionStateManagedObjectMetaDataImpl. checkReady(ManagedFunctionContainer managedFunction, ManagedObjectReadyCheck check, ManagedObjectContainer currentContainer)FunctionStateManagedObjectCleanupImpl. cleanup(FlowMetaData recycleFlowMetaData, java.lang.Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool)<E> FunctionStateManagedObjectContainerImpl. extractExtension(ManagedObjectExtensionExtractor<E> extractor, E[] managedObjectExtensions, int extensionIndex, TeamManagement responsibleTeam)FunctionStateManagedObjectReadyCheckImpl. getLatchFunction()FunctionStateManagedObjectContainerImpl. loadManagedObject(ManagedFunctionContainer managedFunction)FunctionStateManagedObjectMetaDataImpl. recycle(ManagedObject managedObject, ManagedObjectCleanup cleanup)FunctionStateManagedObjectReadyCheckImpl. setNotReady()FunctionStateManagedObjectContainerImpl. unloadManagedObject()FunctionStateManagedObjectContainerImpl. unregisterGovernance(int governanceIndex)Constructors in net.officefloor.frame.impl.execute.managedobject with parameters of type FunctionState Constructor Description ManagedObjectReadyCheckImpl(FunctionState latchFunction, ManagedFunctionContainer managedFunction)Instantiate. -
Uses of FunctionState in net.officefloor.frame.impl.execute.office
Methods in net.officefloor.frame.impl.execute.office that return FunctionState Modifier and Type Method Description FunctionStateOfficeMetaDataImpl. createProcess(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback, ThreadState callbackThreadState)Constructor parameters in net.officefloor.frame.impl.execute.office with type arguments of type FunctionState Constructor Description StateManagerImpl(java.util.Map<java.lang.String,ManagedFunctionMetaData<?,?>> loadObjectMetaDatas, ThreadState threadState, MonitorClock monitorClock, java.util.function.Consumer<FunctionState> functionExecutor, java.lang.Runnable cleanUpState)Instantiate. -
Uses of FunctionState in net.officefloor.frame.impl.execute.officefloor
Methods in net.officefloor.frame.impl.execute.officefloor with parameters of type FunctionState Modifier and Type Method Description voidThreadLocalAwareExecutorImpl. runInContext(FunctionState function, FunctionLoop loop) -
Uses of FunctionState in net.officefloor.frame.impl.execute.process
Methods in net.officefloor.frame.impl.execute.process that return FunctionState Modifier and Type Method Description FunctionStateProcessStateImpl. spawnThreadState(ManagedFunctionMetaData<?,?> managedFunctionMetaData, java.lang.Object parameter, FlowCompletion completion, boolean isEscalationHandlingThreadState)FunctionStateProcessStateImpl. threadComplete(ThreadState thread, FunctionState threadCompletion)Methods in net.officefloor.frame.impl.execute.process with parameters of type FunctionState Modifier and Type Method Description FunctionStateProcessStateImpl. threadComplete(ThreadState thread, FunctionState threadCompletion) -
Uses of FunctionState in net.officefloor.frame.impl.execute.profile
Classes in net.officefloor.frame.impl.execute.profile that implement FunctionState Modifier and Type Class Description classThreadProfilerImplThreadProfilerimplementation.Methods in net.officefloor.frame.impl.execute.profile that return FunctionState Modifier and Type Method Description FunctionStateThreadProfilerImpl. execute(FunctionStateContext context) -
Uses of FunctionState in net.officefloor.frame.impl.execute.thread
Methods in net.officefloor.frame.impl.execute.thread that return FunctionState Modifier and Type Method Description FunctionStateThreadStateImpl. flowComplete(Flow flow, java.lang.Throwable threadEscalation, EscalationCompletion escalationCompletion)FunctionStateThreadStateImpl. handleEscalation(java.lang.Throwable escalation, EscalationCompletion escalationCompletion)FunctionStateThreadStateImpl. registerThreadProfiler()FunctionStateThreadStateImpl. runWithin(FunctionState function)FunctionStateThreadStateImpl. then(FunctionState function, FunctionState thenFunction)Methods in net.officefloor.frame.impl.execute.thread with parameters of type FunctionState Modifier and Type Method Description AvoidTeamThreadStateImpl. avoidTeam(FunctionState function, TeamManagement team)FunctionStateThreadStateImpl. runWithin(FunctionState function)FunctionStateThreadStateImpl. then(FunctionState function, FunctionState thenFunction) -
Uses of FunctionState in net.officefloor.frame.internal.structure
Subinterfaces of FunctionState in net.officefloor.frame.internal.structure Modifier and Type Interface Description interfaceAssetManagerAssetManagerto manageAssetinstances.interfaceBlockStateRepresentative of blocks of code to be executed.interfaceManagedFunctionContainerContainer ofManagedFunctionLogic.interfaceRegisteredGovernanceRegisteredManagedObjectwith theGovernance.interfaceThreadProfilerProfiler of theThreadState.Methods in net.officefloor.frame.internal.structure that return FunctionState Modifier and Type Method Description FunctionStateAssetLatch. awaitOnAsset(FunctionState function)Flags for theFunctionState(and more specifically theThreadStateof theFunctionState) to wait until theAssetis ready.FunctionStateFlow. cancel()Cancels thisFlow.default FunctionStateFunctionState. cancel()FunctionStateManagedObjectContainer. checkReady(ManagedObjectReadyCheck check)Creates aFunctionStateto check if theManagedObjectcontained within thisManagedObjectContaineris ready.FunctionStateManagedObjectMetaData. checkReady(ManagedFunctionContainer managedFunction, ManagedObjectReadyCheck check, ManagedObjectContainer currentContainer)Creates aFunctionStateto check if the dependencies of thisManagedObjectare ready.FunctionStateManagedObjectCleanup. cleanup(FlowMetaData recycleFlowMetaData, java.lang.Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool)Creates the clean upFunctionState.FunctionStateFlow. createFunction(FunctionLogic logic)FunctionStateThreadStateContext. createFunction(FunctionLogic logic, ThreadState fallbackThreadState)FunctionStateOfficeMetaData. createProcess(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback, ThreadState callbackThreadState)Creates a newProcessState.FunctionStateGovernanceContainer. deactivateGovernance()Deactivates theGovernance.FunctionStateGovernanceActivity. doActivity(GovernanceContext<F> context)Undertakes theGovernanceactivity.FunctionStateEscalationCompletion. escalationComplete()Notifies the completion of theEscalationhandling.FunctionStateFunctionLogic. execute(Flow flow)Executes the logic.FunctionStateFunctionState. execute(FunctionStateContext context)Executes theFunctionState.FunctionStateFunctionStateContext. executeDelegate(FunctionState delegate)Wraps executing the delegateFunctionStateto enable breaking the delegate chain.FunctionStateThreadStateContext. executeFunction(FunctionState function)Executes theFunctionStatereturning the nextFunctionStateto execute.<E> FunctionStateManagedObjectContainer. extractExtension(ManagedObjectExtensionExtractor<E> extractor, E[] managedObjectExtensions, int extensionIndex, TeamManagement responsibleTeam)Extracts theManagedObjectextension from theManagedObjectcontained in thisManagedObjectContainer.FunctionStateFlowCompletion. flowComplete(java.lang.Throwable escalation)Obtains theFunctionStateto notify completion of theFlow.FunctionStateThreadState. flowComplete(Flow flow, java.lang.Throwable flowEscalation, EscalationCompletion completion)Flags that the inputFlowhas completed.FunctionStateAvoidTeam. getFunctionState()Obtains theFunctionStateto continue execution avoiding the specifiedTeam.FunctionStateManagedObjectReadyCheck. getLatchFunction()Obtains theFunctionStateto use in anAssetLatchif not ready.default FunctionStateFunctionState. handleEscalation(java.lang.Throwable escalation, EscalationCompletion completion)HandlesEscalationfrom theManagedFunction.FunctionStateThreadState. handleEscalation(java.lang.Throwable escalation, EscalationCompletion completion)FunctionStateManagedObjectContainer. loadManagedObject(ManagedFunctionContainer managedFunctionContainer)Creates aFunctionStateto load theManagedObject.FunctionStateFlow. managedFunctionComplete(FunctionState function, java.lang.Throwable functionEscalation, EscalationCompletion escalationCompletion)Flags that the inputFunctionStatehas completed.FunctionStateManagedObjectMetaData. recycle(ManagedObject managedObject, ManagedObjectCleanup cleanupSequence)Creates theFunctionStatefor the recycling of theManagedObject.FunctionStateManagedFunctionInterest. registerInterest()Registers interest in theManagedFunctionContainer.FunctionStateThreadState. registerThreadProfiler()Obtains theFunctionStateto register theThreadProfiler.FunctionStateThreadState. runWithin(FunctionState function)Runs theFunctionStatewithin thisThreadState.FunctionStateManagedObjectReadyCheck. setNotReady()Flags that aManagedObjector one of its dependencyManagedObjectinstances is not ready.FunctionStateProcessState. spawnThreadState(ManagedFunctionMetaData<?,?> managedFunctionMetaData, java.lang.Object parameter, FlowCompletion completion, boolean isEscalationHandlingThreadState)Spawns a newThreadStatecontained in thisProcessState.FunctionStateThreadState. then(FunctionState function, FunctionState thenFunction)CreatesFunctionStateto execute the chain of the firstFunctionStatebefore moving onto execute the chain of the secondFunctionState.FunctionStateProcessState. threadComplete(ThreadState thread, FunctionState threadCompletion)Flags that the inputThreadStatehas complete.FunctionStateManagedObjectContainer. unloadManagedObject()Creates aFunctionStateto unload theManagedObject.FunctionStateManagedObjectContainer. unregisterGovernance(int governanceIndex)Unregisters theManagedObjectfromGovernance.FunctionStateManagedFunctionInterest. unregisterInterest()Unregisters interest in theManagedFunctionContainer.FunctionStateActiveAsynchronousFlow. waitOnCompletion()Ensure wait on completion.Methods in net.officefloor.frame.internal.structure with parameters of type FunctionState Modifier and Type Method Description AvoidTeamThreadState. avoidTeam(FunctionState function, TeamManagement team)Runs avoiding the specifiedTeam.FunctionStateAssetLatch. awaitOnAsset(FunctionState function)Flags for theFunctionState(and more specifically theThreadStateof theFunctionState) to wait until theAssetis ready.voidFunctionLoop. delegateFunction(FunctionState function)Delegates theFunctionStateto the appropriateTeamto execute.FunctionStateFunctionStateContext. executeDelegate(FunctionState delegate)Wraps executing the delegateFunctionStateto enable breaking the delegate chain.voidFunctionLoop. executeFunction(FunctionState function)Executes theFunctionStatewithin the currentThread.FunctionStateThreadStateContext. executeFunction(FunctionState function)Executes theFunctionStatereturning the nextFunctionStateto execute.FunctionStateFlow. managedFunctionComplete(FunctionState function, java.lang.Throwable functionEscalation, EscalationCompletion escalationCompletion)Flags that the inputFunctionStatehas completed.voidAssetLatch. releaseFunctions(boolean isPermanent, FunctionState functionState)Releases theFunctionStateinstances waiting on theAsset.voidThreadLocalAwareExecutor. runInContext(FunctionState function, FunctionLoop loop)Runs theProcessStatewithin context to enable theThreadLocalinstances of the currentThreadto be available.FunctionStateThreadState. runWithin(FunctionState function)Runs theFunctionStatewithin thisThreadState.FunctionStateThreadState. then(FunctionState function, FunctionState thenFunction)CreatesFunctionStateto execute the chain of the firstFunctionStatebefore moving onto execute the chain of the secondFunctionState.FunctionStateProcessState. threadComplete(ThreadState thread, FunctionState threadCompletion)Flags that the inputThreadStatehas complete.
-