Uses of Interface
net.officefloor.frame.internal.structure.ThreadState
-
-
Uses of ThreadState in net.officefloor.frame.impl.execute.administration
Methods in net.officefloor.frame.impl.execute.administration with parameters of type ThreadState Modifier and Type Method Description void
AdministrationFunctionLogic. execute(ManagedFunctionLogicContext context, ThreadState threadState)
-
Uses of ThreadState in net.officefloor.frame.impl.execute.asset
Methods in net.officefloor.frame.impl.execute.asset that return ThreadState Modifier and Type Method Description ThreadState
AssetManagerImpl. getThreadState()
-
Uses of ThreadState in net.officefloor.frame.impl.execute.flow
Methods in net.officefloor.frame.impl.execute.flow that return ThreadState Modifier and Type Method Description ThreadState
FlowImpl. getLinkedListSetOwner()
ThreadState
FlowImpl. getThreadState()
Constructors in net.officefloor.frame.impl.execute.flow with parameters of type ThreadState Constructor Description FlowImpl(FlowCompletion flowCompletion, EscalationCompletion escalationCompletion, ThreadState threadState)
Initiate. -
Uses of ThreadState in net.officefloor.frame.impl.execute.function
Methods in net.officefloor.frame.impl.execute.function that return ThreadState Modifier and Type Method Description ThreadState
AbstractDelegateFunctionState. getThreadState()
ThreadState
AbstractFunctionState. getThreadState()
ThreadState
ManagedFunctionContainerImpl. getThreadState()
Constructors in net.officefloor.frame.impl.execute.function with parameters of type ThreadState Constructor Description AbstractFunctionState(ThreadState threadState)
Instantiate.SpawnThreadFunctionLogic(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCompletion completion, ThreadState currentThreadState)
Instantiate.SynchroniseProcessStateFunctionLogic(ThreadState currentThreadState)
Instantiate. -
Uses of ThreadState in net.officefloor.frame.impl.execute.governance
Methods in net.officefloor.frame.impl.execute.governance with parameters of type ThreadState Modifier and Type Method Description GovernanceContainer<I>
GovernanceMetaDataImpl. createGovernanceContainer(ThreadState threadState, int governanceIndex)
Constructors in net.officefloor.frame.impl.execute.governance with parameters of type ThreadState Constructor Description GovernanceContainerImpl(GovernanceMetaData<E,F> metaData, ThreadState threadState, int governanceIndex)
Initiate. -
Uses of ThreadState in net.officefloor.frame.impl.execute.managedfunction
Methods in net.officefloor.frame.impl.execute.managedfunction with parameters of type ThreadState Modifier and Type Method Description void
ManagedFunctionLogicImpl. execute(ManagedFunctionLogicContext context, ThreadState threadState)
-
Uses of ThreadState in net.officefloor.frame.impl.execute.managedobject
Methods in net.officefloor.frame.impl.execute.managedobject that return ThreadState Modifier and Type Method Description ThreadState
ManagedObjectContainerImpl. getOwningThreadState()
ThreadState
ManagedObjectContainerImpl. getResponsibleThreadState()
Constructors in net.officefloor.frame.impl.execute.managedobject with parameters of type ThreadState Constructor Description ManagedObjectContainerImpl(ManagedObject managedObject, ManagedObjectMetaData<D> metaData, ThreadState responsibleThreadState)
Initiate the container with a providedManagedObject
.ManagedObjectContainerImpl(ManagedObjectMetaData<D> metaData, ThreadState responsibleThreadState)
Initiate the container. -
Uses of ThreadState in net.officefloor.frame.impl.execute.office
Methods in net.officefloor.frame.impl.execute.office with parameters of type ThreadState Modifier and Type Method Description FunctionState
OfficeMetaDataImpl. createProcess(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback, ThreadState callbackThreadState)
ProcessManager
OfficeMetaDataImpl. invokeProcess(FlowMetaData flowMetaData, java.lang.Object parameter, long delay, FlowCallback callback, ThreadState callbackThreadState, ManagedObject inputManagedObject, ManagedObjectMetaData<?> inputManagedObjectMetaData, int processBoundIndexForInputManagedObject)
Constructors in net.officefloor.frame.impl.execute.office with parameters of type ThreadState 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 ThreadState in net.officefloor.frame.impl.execute.process
Methods in net.officefloor.frame.impl.execute.process that return ThreadState Modifier and Type Method Description ThreadState
ProcessStateImpl. getMainThreadState()
Methods in net.officefloor.frame.impl.execute.process with parameters of type ThreadState Modifier and Type Method Description FunctionState
ProcessStateImpl. threadComplete(ThreadState thread, FunctionState threadCompletion)
Constructors in net.officefloor.frame.impl.execute.process with parameters of type ThreadState Constructor Description ProcessStateImpl(ProcessMetaData processMetaData, OfficeMetaData officeMetaData, FlowCallback callback, ThreadState callbackThreadState, ThreadLocalAwareExecutor threadLocalAwareExecutor, Profiler profiler, java.util.function.Consumer<ProcessState> initialSetup)
Initiate.ProcessStateImpl(ProcessMetaData processMetaData, OfficeMetaData officeMetaData, FlowCallback callback, ThreadState callbackThreadState, ThreadLocalAwareExecutor threadLocalAwareExecutor, Profiler profiler, ManagedObject inputManagedObject, ManagedObjectMetaData<?> inputManagedObjectMetaData, int inputManagedObjectIndex, java.util.function.Consumer<ProcessState> initialSetup)
Initiate for aProcessState
initiated by aManagedObject
. -
Uses of ThreadState in net.officefloor.frame.impl.execute.profile
Methods in net.officefloor.frame.impl.execute.profile that return ThreadState Modifier and Type Method Description ThreadState
ThreadProfilerImpl. getThreadState()
Methods in net.officefloor.frame.impl.execute.profile with parameters of type ThreadState Modifier and Type Method Description ThreadProfiler
ProcessProfilerImpl. addThreadState(ThreadState threadState)
-
Uses of ThreadState in net.officefloor.frame.impl.execute.thread
Classes in net.officefloor.frame.impl.execute.thread that implement ThreadState Modifier and Type Class Description class
ThreadStateImpl
Implementation of theThreadState
.Fields in net.officefloor.frame.impl.execute.thread with type parameters of type ThreadState Modifier and Type Field Description protected LinkedListSet<Flow,ThreadState>
ThreadStateImpl. activeFlows
ActiveFlow
instances for thisThreadState
.Methods in net.officefloor.frame.impl.execute.thread with parameters of type ThreadState Modifier and Type Method Description static ThreadStateContext
ThreadStateImpl. attachThreadStateToThread(ThreadState threadState, boolean isThreadStateSafe)
Attaches theThreadState
to theThread
.static ThreadStateContext
ThreadStateImpl. currentThreadContext(ThreadState fallbackThreadState)
Obtains the currentThreadStateContext
.Constructors in net.officefloor.frame.impl.execute.thread with parameters of type ThreadState Constructor Description ThreadStateImpl(ThreadMetaData threadMetaData, FlowCallback callback, ThreadState callbackThreadState, ProcessState processState, ProcessProfiler processProfiler)
Initiate withProcessState
FlowCallback
. -
Uses of ThreadState in net.officefloor.frame.internal.structure
Methods in net.officefloor.frame.internal.structure that return ThreadState Modifier and Type Method Description ThreadState
ProcessState. getMainThreadState()
Obtains the mainThreadState
for thisProcessState
.ThreadState
Asset. getOwningThreadState()
Obtains theThreadState
owning thisAsset
.ThreadState
ManagedObjectContainer. getResponsibleThreadState()
Obtains theThreadState
responsible for changes to thisManagedObjectContainer
.ThreadState
Flow. getThreadState()
Obtains theThreadState
containing thisFlow
.ThreadState
FunctionState. getThreadState()
Obtains theThreadState
for thisFunctionState
.Methods in net.officefloor.frame.internal.structure with parameters of type ThreadState Modifier and Type Method Description ThreadProfiler
ProcessProfiler. addThreadState(ThreadState threadState)
Adds aThreadState
to be profiled.FunctionState
ThreadStateContext. createFunction(FunctionLogic logic, ThreadState fallbackThreadState)
GovernanceContainer<E>
GovernanceMetaData. createGovernanceContainer(ThreadState threadState, int governanceIndex)
Creates theGovernanceContainer
.FunctionState
OfficeMetaData. createProcess(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback, ThreadState callbackThreadState)
Creates a newProcessState
.void
ManagedFunctionLogic. execute(ManagedFunctionLogicContext context, ThreadState threadState)
Executes theManagedFunctionLogic
.ProcessManager
OfficeMetaData. invokeProcess(FlowMetaData flowMetaData, java.lang.Object parameter, long delay, FlowCallback callback, ThreadState callbackThreadState, ManagedObject inputManagedObject, ManagedObjectMetaData<?> inputManagedObjectMetaData, int processBoundIndexForInputManagedObject)
Invokes aProcessState
.FunctionState
ProcessState. threadComplete(ThreadState thread, FunctionState threadCompletion)
Flags that the inputThreadState
has complete.
-