Interface ThreadMetaData
-
- All Known Implementing Classes:
ThreadMetaDataImpl
public interface ThreadMetaData
Meta-data for theThreadState
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GovernanceMetaData<?,?>[]
getGovernanceMetaData()
ManagedObjectMetaData<?>[]
getManagedObjectMetaData()
int
getMaximumFunctionChainLength()
Obtains the maximumFunctionState
chain length for thisThreadState
.EscalationProcedure
getOfficeEscalationProcedure()
Obtains theEscalationProcedure
for theOffice
.EscalationFlow
getOfficeFloorEscalation()
Obtains the catch allEscalationFlow
for theOfficeFloor
.ThreadSynchroniserFactory[]
getThreadSynchronisers()
Obtains theThreadSynchroniserFactory
instances.
-
-
-
Method Detail
-
getManagedObjectMetaData
ManagedObjectMetaData<?>[] getManagedObjectMetaData()
- Returns:
ManagedObjectMetaData
of theManagedObject
instances bound to theThreadState
.
-
getGovernanceMetaData
GovernanceMetaData<?,?>[] getGovernanceMetaData()
- Returns:
GovernanceMetaData
instances.
-
getMaximumFunctionChainLength
int getMaximumFunctionChainLength()
Obtains the maximum
FunctionState
chain length for thisThreadState
.Once the
FunctionState
chain has reached this length, it will be broken. (spawned in anotherThread
). This avoidsStackOverflowError
issues inFunctionState
chain being too large.- Returns:
- Maximum
FunctionState
chain length for thisThreadState
.
-
getThreadSynchronisers
ThreadSynchroniserFactory[] getThreadSynchronisers()
Obtains theThreadSynchroniserFactory
instances.- Returns:
ThreadSynchroniserFactory
instances.
-
getOfficeEscalationProcedure
EscalationProcedure getOfficeEscalationProcedure()
Obtains theEscalationProcedure
for theOffice
.- Returns:
EscalationProcedure
for theOffice
.
-
getOfficeFloorEscalation
EscalationFlow getOfficeFloorEscalation()
Obtains the catch allEscalationFlow
for theOfficeFloor
.- Returns:
- Catch all
EscalationFlow
for theOfficeFloor
.
-
-