Interface ManagedObjectCleanup
-
- All Known Implementing Classes:
ManagedObjectCleanupImpl
public interface ManagedObjectCleanup
Manages the clean up ofManagedObject
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionState
cleanup(FlowMetaData recycleFlowMetaData, java.lang.Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool)
Creates the clean upFunctionState
.
-
-
-
Method Detail
-
cleanup
FunctionState cleanup(FlowMetaData recycleFlowMetaData, java.lang.Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool)
Creates the clean upFunctionState
.- Parameters:
recycleFlowMetaData
-FlowMetaData
to recycle theManagedObject
.objectType
- Type of the object from theManagedObject
.managedObject
-ManagedObject
to be cleaned up.managedObjectPool
- OptionalManagedObjectPool
to return theManagedObject
. May benull
.- Returns:
FunctionState
to clean up theManagedObject
.
-
-