Package fish.payara.nucleus.hazelcast
Class PayaraHazelcastTenant
- java.lang.Object
-
- fish.payara.nucleus.hazelcast.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearThreadContext()
boolean
isAvailable(com.hazelcast.spi.tenantcontrol.Tenantable tenantable)
void
readData(com.hazelcast.nio.ObjectDataInput in)
void
registerObject(com.hazelcast.spi.tenantcontrol.DestroyEventContext destroyContext)
com.hazelcast.spi.tenantcontrol.TenantControl.Closeable
setTenant()
void
unregisterObject()
void
writeData(com.hazelcast.nio.ObjectDataOutput out)
-
-
-
Method Detail
-
registerObject
public void registerObject(com.hazelcast.spi.tenantcontrol.DestroyEventContext destroyContext)
- Specified by:
registerObject
in interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
unregisterObject
public void unregisterObject()
- Specified by:
unregisterObject
in interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
setTenant
public com.hazelcast.spi.tenantcontrol.TenantControl.Closeable setTenant()
- Specified by:
setTenant
in interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
- Specified by:
writeData
in interfacecom.hazelcast.nio.serialization.DataSerializable
- Throws:
IOException
-
readData
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
- Specified by:
readData
in interfacecom.hazelcast.nio.serialization.DataSerializable
- Throws:
IOException
-
isAvailable
public boolean isAvailable(com.hazelcast.spi.tenantcontrol.Tenantable tenantable)
- Specified by:
isAvailable
in interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
clearThreadContext
public void clearThreadContext()
- Specified by:
clearThreadContext
in interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
-