Class PayaraHazelcastTenant

  • All Implemented Interfaces:
    com.hazelcast.nio.serialization.DataSerializable, com.hazelcast.spi.tenantcontrol.TenantControl

    public class PayaraHazelcastTenant
    extends Object
    implements com.hazelcast.spi.tenantcontrol.TenantControl, com.hazelcast.nio.serialization.DataSerializable
    Java EE Context and class loading support for Hazelcast objects and thread-callbacks
    Author:
    lprimak
    • Method Detail

      • registerObject

        public void registerObject​(com.hazelcast.spi.tenantcontrol.DestroyEventContext destroyContext)
        Specified by:
        registerObject in interface com.hazelcast.spi.tenantcontrol.TenantControl
      • unregisterObject

        public void unregisterObject()
        Specified by:
        unregisterObject in interface com.hazelcast.spi.tenantcontrol.TenantControl
      • setTenant

        public com.hazelcast.spi.tenantcontrol.TenantControl.Closeable setTenant()
        Specified by:
        setTenant in interface com.hazelcast.spi.tenantcontrol.TenantControl
      • writeData

        public void writeData​(com.hazelcast.nio.ObjectDataOutput out)
                       throws IOException
        Specified by:
        writeData in interface com.hazelcast.nio.serialization.DataSerializable
        Throws:
        IOException
      • readData

        public void readData​(com.hazelcast.nio.ObjectDataInput in)
                      throws IOException
        Specified by:
        readData in interface com.hazelcast.nio.serialization.DataSerializable
        Throws:
        IOException
      • isAvailable

        public boolean isAvailable​(com.hazelcast.spi.tenantcontrol.Tenantable tenantable)
        Specified by:
        isAvailable in interface com.hazelcast.spi.tenantcontrol.TenantControl
      • clearThreadContext

        public void clearThreadContext()
        Specified by:
        clearThreadContext in interface com.hazelcast.spi.tenantcontrol.TenantControl