Interface DestroyEventContext<T>

Type Parameters:
T - context type

@Beta
public interface DestroyEventContext<T>
Hook to decouple Hazelcast object from the tenant
  • Method Details

    • destroy

      void destroy​(T context)
      Called to decouple Hazelcast object from the tenant
      Parameters:
      context - to use to destroy the Hazelcast object
    • getContextType

      Class<? extends T> 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