Uses of Interface
com.hazelcast.spi.tenantcontrol.DestroyEventContext
Packages that use DestroyEventContext
Package
Description
Provides core API interfaces/classes.
Classes for tenant control
-
Uses of DestroyEventContext in com.hazelcast.core
Methods in com.hazelcast.core that return DestroyEventContextModifier and TypeMethodDescriptiondefault DestroyEventContext
DistributedObject.getDestroyContextForTenant()
Returns a hook which can be used by tenant control implementation to clean up resources once a tenant is destroyed. -
Uses of DestroyEventContext in com.hazelcast.spi.tenantcontrol
Methods in com.hazelcast.spi.tenantcontrol with parameters of type DestroyEventContextModifier and TypeMethodDescriptionvoid
TenantControl.registerObject
(DestroyEventContext destroyEventContext) Registers a hook to decouple any Hazelcast object when the tenant is destroyed, This is used, for example, to delete all associated caches from the application when it gets undeployed, so there are noClassCastException
afterwards.