Interface AssetManager
-
- All Superinterfaces:
FunctionState
,LinkedListSetEntry<FunctionState,Flow>
- All Known Implementing Classes:
AssetManagerImpl
public interface AssetManager extends FunctionState
AssetManager
to manageAsset
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetLatch
createAssetLatch(Asset asset)
Creates a newAssetLatch
.-
Methods inherited from interface net.officefloor.frame.internal.structure.FunctionState
cancel, execute, getLinkedListSetOwner, getResponsibleTeam, getThreadState, handleEscalation, isRequireThreadStateSafety
-
Methods inherited from interface net.officefloor.frame.internal.structure.LinkedListSetEntry
getNext, getPrev, setNext, setPrev
-
-
-
-
Method Detail
-
createAssetLatch
AssetLatch createAssetLatch(Asset asset)
Creates a new
AssetLatch
.The returned
AssetLatch
is not being managed by thisAssetManager
. To have theAssetLatch
managed, it must be registered with thisAssetManager
. This allows for only the list ofAssetLatch
instances requiring management to be managed.- Parameters:
asset
-Asset
thatFunctionState
instances will wait on.- Returns:
AssetLatch
for theAsset
.
-
-