Interface AssetManager
-
- All Superinterfaces:
FunctionState,LinkedListSetEntry<FunctionState,Flow>
- All Known Implementing Classes:
AssetManagerImpl
public interface AssetManager extends FunctionState
AssetManagerto manageAssetinstances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetLatchcreateAssetLatch(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
AssetLatchis not being managed by thisAssetManager. To have theAssetLatchmanaged, it must be registered with thisAssetManager. This allows for only the list ofAssetLatchinstances requiring management to be managed.- Parameters:
asset-AssetthatFunctionStateinstances will wait on.- Returns:
AssetLatchfor theAsset.
-
-