Class HazelcastTopicRemoteConnection
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.coordination.RemoteConnection
-
- org.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection
-
- fish.payara.persistence.eclipselink.cache.coordination.HazelcastTopicRemoteConnection
-
- All Implemented Interfaces:
MessageReceiver<HazelcastPayload>,Serializable
public class HazelcastTopicRemoteConnection extends org.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection implements MessageReceiver<HazelcastPayload>
HazelcastBroadcastRemoteConnectionimplementing the HZMessageListenerinterface.- Author:
- Sven Diedrichsen
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseInternal()protected ObjectexecuteCommandInternal(Object o)Publishes the provided command viaHazelcastTopic.voidreceiveMessage(ClusterMessage<HazelcastPayload> message)Receives any published message containing hz payload.-
Methods inherited from class org.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection
areAllResourcesFreedOnClose, close, createDisplayString, executeCommand, executeCommand, failDeserializeMessage, getInfo, getInfoExt, getState, getTopicName, isActive, isClosed, isClosing, logDebugAfterPublish, logDebugBeforePublish, logDebugOnReceiveMessage, processReceivedObject, shouldCheckServiceId, toString
-
-
-
-
Method Detail
-
executeCommandInternal
protected Object executeCommandInternal(Object o) throws Exception
Publishes the provided command viaHazelcastTopic.- Specified by:
executeCommandInternalin classorg.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection- Parameters:
o- The command to execute.- Returns:
- NULL
- Throws:
Exception- In case of an error.
-
closeInternal
protected void closeInternal() throws Exception- Specified by:
closeInternalin classorg.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection- Throws:
Exception
-
receiveMessage
public void receiveMessage(ClusterMessage<HazelcastPayload> message)
Receives any published message containing hz payload.- Specified by:
receiveMessagein interfaceMessageReceiver<HazelcastPayload>- Parameters:
message- the message to process.
-
-