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 voidclearThreadContext()booleanisAvailable(com.hazelcast.spi.tenantcontrol.Tenantable tenantable)voidreadData(com.hazelcast.nio.ObjectDataInput in)voidregisterObject(com.hazelcast.spi.tenantcontrol.DestroyEventContext destroyContext)com.hazelcast.spi.tenantcontrol.TenantControl.CloseablesetTenant()voidunregisterObject()voidwriteData(com.hazelcast.nio.ObjectDataOutput out)
-
-
-
Method Detail
-
registerObject
public void registerObject(com.hazelcast.spi.tenantcontrol.DestroyEventContext destroyContext)
- Specified by:
registerObjectin interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
unregisterObject
public void unregisterObject()
- Specified by:
unregisterObjectin interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
setTenant
public com.hazelcast.spi.tenantcontrol.TenantControl.Closeable setTenant()
- Specified by:
setTenantin interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException- Specified by:
writeDatain interfacecom.hazelcast.nio.serialization.DataSerializable- Throws:
IOException
-
readData
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException- Specified by:
readDatain interfacecom.hazelcast.nio.serialization.DataSerializable- Throws:
IOException
-
isAvailable
public boolean isAvailable(com.hazelcast.spi.tenantcontrol.Tenantable tenantable)
- Specified by:
isAvailablein interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
clearThreadContext
public void clearThreadContext()
- Specified by:
clearThreadContextin interfacecom.hazelcast.spi.tenantcontrol.TenantControl
-
-