public class HazelcastTopicRemoteConnection extends org.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection implements MessageReceiver<HazelcastPayload>
BroadcastRemoteConnection
implementing the HZ MessageListener
interface.Modifier and Type | Method and Description |
---|---|
protected void |
closeInternal() |
protected Object |
executeCommandInternal(Object o)
Publishes the provided command via
HazelcastTopic . |
void |
receiveMessage(ClusterMessage<HazelcastPayload> message)
Receives any published message containing hz payload.
|
areAllResourcesFreedOnClose, close, createDisplayString, executeCommand, executeCommand, failDeserializeMessage, getInfo, getInfoExt, getState, getTopicName, isActive, isClosed, isClosing, logDebugAfterPublish, logDebugBeforePublish, logDebugOnReceiveMessage, processReceivedObject, shouldCheckServiceId, toString
protected Object executeCommandInternal(Object o) throws Exception
HazelcastTopic
.executeCommandInternal
in class org.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection
o
- The command to execute.Exception
- In case of an error.protected void closeInternal() throws Exception
closeInternal
in class org.eclipse.persistence.internal.sessions.coordination.broadcast.BroadcastRemoteConnection
Exception
public void receiveMessage(ClusterMessage<HazelcastPayload> message)
receiveMessage
in interface MessageReceiver<HazelcastPayload>
message
- the message to process.Copyright © 2018. All rights reserved.