Uses of Interface
net.officefloor.frame.internal.structure.FunctionState
Packages that use FunctionState
Package
Description
-
Uses of FunctionState in net.officefloor.frame.impl.execute.asset
Classes in net.officefloor.frame.impl.execute.asset that implement FunctionStateMethods in net.officefloor.frame.impl.execute.asset that return FunctionStateModifier and TypeMethodDescriptionAssetLatchImpl.awaitOnAsset(FunctionState function) AssetManagerImpl.execute(FunctionStateContext context) Methods in net.officefloor.frame.impl.execute.asset with parameters of type FunctionStateModifier and TypeMethodDescriptionAssetLatchImpl.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 FunctionStateModifier and TypeMethodDescriptionFlowImpl.cancel()FlowImpl.createFunction(FunctionLogic logic) FlowImpl.managedFunctionComplete(FunctionState function, Throwable functionEscalation, EscalationCompletion escalationCompletion) Methods in net.officefloor.frame.impl.execute.flow with parameters of type FunctionStateModifier and TypeMethodDescriptionFlowImpl.managedFunctionComplete(FunctionState function, Throwable functionEscalation, EscalationCompletion escalationCompletion) -
Uses of FunctionState in net.officefloor.frame.impl.execute.function
Classes in net.officefloor.frame.impl.execute.function that implement FunctionStateModifier and TypeClassDescriptionclassAbstractFunctionStatethat delegates functionality to a delegateFunctionState.classAbstractFunctionState.classLinkedListSetPromise<I,E> classFunctionStateto execute aManagedFunctionLogic.Fields in net.officefloor.frame.impl.execute.function declared as FunctionStateModifier and TypeFieldDescriptionprotected final FunctionStateAbstractDelegateFunctionState.delegateDelegateFunctionState.Methods in net.officefloor.frame.impl.execute.function that return FunctionStateModifier and TypeMethodDescriptionstatic <E extends LinkedListSetEntry<E,O>, O>
FunctionStateLinkedListSetPromise.all(LinkedListSet<E, O> linkedListSet, LinkedListSetPromise.Translate<E> translate) Executes aFunctionStatefor all entries of theLinkedListSet.AbstractDelegateFunctionState.cancel()ManagedFunctionContainerImpl.cancel()AbstractDelegateFunctionState.execute(FunctionStateContext context) LinkedListSetPromise.execute(FunctionStateContext context) ManagedFunctionContainerImpl.execute(FunctionStateContext context) AbstractDelegateFunctionState.handleEscalation(Throwable escalation, EscalationCompletion completion) ManagedFunctionContainerImpl.handleEscalation(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.Translates the entry to aFunctionState.Methods in net.officefloor.frame.impl.execute.function with parameters of type FunctionStateModifier and TypeMethodDescriptionstatic FunctionStatePromise.then(FunctionState function, FunctionState thenFunction) Execute theFunctionStatethen theFunctionState.Constructors in net.officefloor.frame.impl.execute.function with parameters of type FunctionStateModifierConstructorDescriptionAbstractDelegateFunctionState(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 -
Uses of FunctionState in net.officefloor.frame.impl.execute.job
Methods in net.officefloor.frame.impl.execute.job with parameters of type FunctionStateModifier and TypeMethodDescriptionvoidFunctionLoopImpl.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 FunctionStateModifier and TypeMethodDescriptionManagedObjectContainerImpl.checkReady(ManagedObjectReadyCheck check) ManagedObjectMetaDataImpl.checkReady(ManagedFunctionContainer managedFunction, ManagedObjectReadyCheck check, ManagedObjectContainer currentContainer) ManagedObjectCleanupImpl.cleanup(FlowMetaData recycleFlowMetaData, Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool) <E> FunctionStateManagedObjectContainerImpl.extractExtension(ManagedObjectExtensionExtractor<E> extractor, E[] managedObjectExtensions, int extensionIndex, TeamManagement responsibleTeam) ManagedObjectReadyCheckImpl.getLatchFunction()ManagedObjectContainerImpl.loadManagedObject(ManagedFunctionContainer managedFunction) ManagedObjectMetaDataImpl.recycle(ManagedObject managedObject, ManagedObjectCleanup cleanup) ManagedObjectReadyCheckImpl.setNotReady()ManagedObjectContainerImpl.unloadManagedObject()ManagedObjectContainerImpl.unregisterGovernance(int governanceIndex) Constructors in net.officefloor.frame.impl.execute.managedobject with parameters of type FunctionStateModifierConstructorDescriptionManagedObjectReadyCheckImpl(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 FunctionStateModifier and TypeMethodDescriptionOfficeMetaDataImpl.createProcess(FlowMetaData flowMetaData, Object parameter, FlowCallback callback, ThreadState callbackThreadState) Constructor parameters in net.officefloor.frame.impl.execute.office with type arguments of type FunctionStateModifierConstructorDescriptionStateManagerImpl(Map<String, ManagedFunctionMetaData<?, ?>> loadObjectMetaDatas, ThreadState threadState, MonitorClock monitorClock, Consumer<FunctionState> functionExecutor, 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 FunctionStateModifier and TypeMethodDescriptionvoidThreadLocalAwareExecutorImpl.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 FunctionStateModifier and TypeMethodDescriptionProcessStateImpl.spawnThreadState(ManagedFunctionMetaData<?, ?> managedFunctionMetaData, Object parameter, FlowCompletion completion, boolean isEscalationHandlingThreadState) ProcessStateImpl.threadComplete(ThreadState thread, FunctionState threadCompletion) Methods in net.officefloor.frame.impl.execute.process with parameters of type FunctionStateModifier and TypeMethodDescriptionProcessStateImpl.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 FunctionStateMethods in net.officefloor.frame.impl.execute.profile that return FunctionState -
Uses of FunctionState in net.officefloor.frame.impl.execute.thread
Methods in net.officefloor.frame.impl.execute.thread that return FunctionStateModifier and TypeMethodDescriptionThreadStateImpl.flowComplete(Flow flow, Throwable threadEscalation, EscalationCompletion escalationCompletion) ThreadStateImpl.handleEscalation(Throwable escalation, EscalationCompletion escalationCompletion) ThreadStateImpl.registerThreadProfiler()ThreadStateImpl.runWithin(FunctionState function) ThreadStateImpl.then(FunctionState function, FunctionState thenFunction) Methods in net.officefloor.frame.impl.execute.thread with parameters of type FunctionStateModifier and TypeMethodDescriptionThreadStateImpl.avoidTeam(FunctionState function, TeamManagement team) ThreadStateImpl.runWithin(FunctionState function) ThreadStateImpl.then(FunctionState function, FunctionState thenFunction) -
Uses of FunctionState in net.officefloor.frame.internal.structure
Subinterfaces of FunctionState in net.officefloor.frame.internal.structureModifier and TypeInterfaceDescriptioninterfaceAssetManagerto manageAssetinstances.interfaceRepresentative of blocks of code to be executed.interfaceContainer ofManagedFunctionLogic.interfaceRegisteredManagedObjectwith theGovernance.interfaceProfiler of theThreadState.Methods in net.officefloor.frame.internal.structure that return FunctionStateModifier and TypeMethodDescriptionAssetLatch.awaitOnAsset(FunctionState function) Flags for theFunctionState(and more specifically theThreadStateof theFunctionState) to wait until theAssetis ready.Flow.cancel()Cancels thisFlow.default FunctionStateFunctionState.cancel()ManagedObjectContainer.checkReady(ManagedObjectReadyCheck check) Creates aFunctionStateto check if theManagedObjectcontained within thisManagedObjectContaineris ready.ManagedObjectMetaData.checkReady(ManagedFunctionContainer managedFunction, ManagedObjectReadyCheck check, ManagedObjectContainer currentContainer) Creates aFunctionStateto check if the dependencies of thisManagedObjectare ready.ManagedObjectCleanup.cleanup(FlowMetaData recycleFlowMetaData, Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool) Creates the clean upFunctionState.Flow.createFunction(FunctionLogic logic) ThreadStateContext.createFunction(FunctionLogic logic, ThreadState fallbackThreadState) OfficeMetaData.createProcess(FlowMetaData flowMetaData, Object parameter, FlowCallback callback, ThreadState callbackThreadState) Creates a newProcessState.GovernanceContainer.deactivateGovernance()Deactivates theGovernance.GovernanceActivity.doActivity(GovernanceContext<F> context) Undertakes theGovernanceactivity.EscalationCompletion.escalationComplete()Notifies the completion of theEscalationhandling.Executes the logic.FunctionState.execute(FunctionStateContext context) Executes theFunctionState.FunctionStateContext.executeDelegate(FunctionState delegate) Wraps executing the delegateFunctionStateto enable breaking the delegate chain.ThreadStateContext.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.FlowCompletion.flowComplete(Throwable escalation) Obtains theFunctionStateto notify completion of theFlow.ThreadState.flowComplete(Flow flow, Throwable flowEscalation, EscalationCompletion completion) Flags that the inputFlowhas completed.AvoidTeam.getFunctionState()Obtains theFunctionStateto continue execution avoiding the specifiedTeam.ManagedObjectReadyCheck.getLatchFunction()Obtains theFunctionStateto use in anAssetLatchif not ready.default FunctionStateFunctionState.handleEscalation(Throwable escalation, EscalationCompletion completion) HandlesEscalationfrom theManagedFunction.ThreadState.handleEscalation(Throwable escalation, EscalationCompletion completion) ManagedObjectContainer.loadManagedObject(ManagedFunctionContainer managedFunctionContainer) Creates aFunctionStateto load theManagedObject.Flow.managedFunctionComplete(FunctionState function, Throwable functionEscalation, EscalationCompletion escalationCompletion) Flags that the inputFunctionStatehas completed.ManagedObjectMetaData.recycle(ManagedObject managedObject, ManagedObjectCleanup cleanupSequence) Creates theFunctionStatefor the recycling of theManagedObject.ManagedFunctionInterest.registerInterest()Registers interest in theManagedFunctionContainer.ThreadState.registerThreadProfiler()Obtains theFunctionStateto register theThreadProfiler.ThreadState.runWithin(FunctionState function) Runs theFunctionStatewithin thisThreadState.ManagedObjectReadyCheck.setNotReady()Flags that aManagedObjector one of its dependencyManagedObjectinstances is not ready.ProcessState.spawnThreadState(ManagedFunctionMetaData<?, ?> managedFunctionMetaData, Object parameter, FlowCompletion completion, boolean isEscalationHandlingThreadState) Spawns a newThreadStatecontained in thisProcessState.ThreadState.then(FunctionState function, FunctionState thenFunction) CreatesFunctionStateto execute the chain of the firstFunctionStatebefore moving onto execute the chain of the secondFunctionState.ProcessState.threadComplete(ThreadState thread, FunctionState threadCompletion) Flags that the inputThreadStatehas complete.ManagedObjectContainer.unloadManagedObject()Creates aFunctionStateto unload theManagedObject.ManagedObjectContainer.unregisterGovernance(int governanceIndex) Unregisters theManagedObjectfromGovernance.ManagedFunctionInterest.unregisterInterest()Unregisters interest in theManagedFunctionContainer.ActiveAsynchronousFlow.waitOnCompletion()Ensure wait on completion.Methods in net.officefloor.frame.internal.structure with parameters of type FunctionStateModifier and TypeMethodDescriptionThreadState.avoidTeam(FunctionState function, TeamManagement team) Runs avoiding the specifiedTeam.AssetLatch.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.FunctionStateContext.executeDelegate(FunctionState delegate) Wraps executing the delegateFunctionStateto enable breaking the delegate chain.voidFunctionLoop.executeFunction(FunctionState function) Executes theFunctionStatewithin the currentThread.ThreadStateContext.executeFunction(FunctionState function) Executes theFunctionStatereturning the nextFunctionStateto execute.Flow.managedFunctionComplete(FunctionState function, 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.ThreadState.runWithin(FunctionState function) Runs theFunctionStatewithin thisThreadState.ThreadState.then(FunctionState function, FunctionState thenFunction) CreatesFunctionStateto execute the chain of the firstFunctionStatebefore moving onto execute the chain of the secondFunctionState.ProcessState.threadComplete(ThreadState thread, FunctionState threadCompletion) Flags that the inputThreadStatehas complete.