Uses of Interface
com.hazelcast.spi.tenantcontrol.DestroyEventContext
Package
Description
Provides core API interfaces/classes.
Classes for tenant control
-
Uses of DestroyEventContext in com.hazelcast.core
Modifier 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
Modifier 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.