Interface MemoryRemoveCallback
public interface MemoryRemoveCallback
Callback that is registered at a MemoryGroup. It is called AFTER a Memory has
been removed from a MemoryGroup due to a GroupInactivityTimeout
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2017, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRemove
(Comparable key) Called from a MemoryGroup AFTER a Memory has been removed from the Group.
-
Method Details
-
onRemove
Called from a MemoryGroup AFTER a Memory has been removed from the Group. The Memory already has been closed and removed from the Stream. This callback is to cleanup resources, e.g. to delete persistent queues for QueueMemories.- Parameters:
key
- Value of the group Property
-