Interface ThreadMetaData
- All Known Implementing Classes:
ThreadMetaDataImpl
public interface ThreadMetaData
Meta-data for the
ThreadState.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionGovernanceMetaData<?,?>[] intObtains the maximumFunctionStatechain length for thisThreadState.Obtains theEscalationProcedurefor theOffice.Obtains the catch allEscalationFlowfor theOfficeFloor.Obtains theThreadSynchroniserFactoryinstances.
-
Method Details
-
getManagedObjectMetaData
ManagedObjectMetaData<?>[] getManagedObjectMetaData()- Returns:
ManagedObjectMetaDataof theManagedObjectinstances bound to theThreadState.
-
getGovernanceMetaData
GovernanceMetaData<?,?>[] getGovernanceMetaData()- Returns:
GovernanceMetaDatainstances.
-
getMaximumFunctionChainLength
int getMaximumFunctionChainLength()Obtains the maximum
FunctionStatechain length for thisThreadState.Once the
FunctionStatechain has reached this length, it will be broken. (spawned in anotherThread). This avoidsStackOverflowErrorissues inFunctionStatechain being too large.- Returns:
- Maximum
FunctionStatechain length for thisThreadState.
-
getThreadSynchronisers
ThreadSynchroniserFactory[] getThreadSynchronisers()Obtains theThreadSynchroniserFactoryinstances.- Returns:
ThreadSynchroniserFactoryinstances.
-
getOfficeEscalationProcedure
EscalationProcedure getOfficeEscalationProcedure()Obtains theEscalationProcedurefor theOffice.- Returns:
EscalationProcedurefor theOffice.
-
getOfficeFloorEscalation
EscalationFlow getOfficeFloorEscalation()Obtains the catch allEscalationFlowfor theOfficeFloor.- Returns:
- Catch all
EscalationFlowfor theOfficeFloor.
-