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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy(T context)` Called to decouple Hazelcast object from the tenant
    `Class<? extends T>` | `getContextType()`
    `String` | `getDistributedObjectName()`
    `String` | `getServiceName()`

- - ### Method Detail

    - #### 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:

    - #### getServiceName

          String getServiceName()

      Returns:

Copyright © 2019. All rights reserved.