Package com.hazelcast.spi.tenantcontrol
Interface DestroyEventContext<T>
- Type Parameters:
T
- context type
@Beta public interface DestroyEventContext<T>
Hook to decouple Hazelcast object from the tenant
-
Method Summary
Modifier and Type Method Description void
destroy(T context)
Called to decouple Hazelcast object from the tenantClass<? extends T>
getContextType()
String
getDistributedObjectName()
String
getServiceName()
-
Method Details
-
destroy
Called to decouple Hazelcast object from the tenant- Parameters:
context
- to use to destroy the Hazelcast object
-
getContextType
- Returns:
- context type so the tenant control implementor knows what context to send to the destroy() method
-
getDistributedObjectName
String getDistributedObjectName()- Returns:
- the name of the distributed object
-
getServiceName
String getServiceName()- Returns:
- the service name
-