Class HazelcastPublishingTransportManager
- java.lang.Object
-
- org.eclipse.persistence.sessions.coordination.TransportManager
-
- org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
-
- fish.payara.persistence.eclipselink.cache.coordination.HazelcastPublishingTransportManager
-
public class HazelcastPublishingTransportManager extends org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManagerHazelcast basedBroadcastTransportManager.- Author:
- Sven Diedrichsen
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
topicName
-
Fields inherited from class org.eclipse.persistence.sessions.coordination.TransportManager
connectionsToExternalServices, DEFAULT_CONTEXT_FACTORY, DEFAULT_DEDICATED_CONNECTION_KEY, DEFAULT_DEDICATED_CONNECTION_VALUE, DEFAULT_IIOP_URL_PORT, DEFAULT_IIOP_URL_PROTOCOL, DEFAULT_NAMING_SERVICE, DEFAULT_REMOVE_CONNECTION_ON_ERROR_MODE, DEFAULT_URL_PORT, DEFAULT_URL_PROTOCOL, DEFAULT_USER_NAME, JNDI_NAMING_SERVICE, localConnection, localContextProperties, namingServiceType, rcm, REGISTRY_NAMING_SERVICE, remoteContextProperties, securableObjectHolder, shouldRemoveConnectionOnError
-
-
Constructor Summary
Constructors Constructor Description HazelcastPublishingTransportManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateLocalConnection()Creates the hz connection.Map<String,org.eclipse.persistence.internal.sessions.coordination.RemoteConnection>getConnectionsToExternalServicesForCommandPropagation()Method to return the connection with the hazelcast topic.voidremoveLocalConnection()Closes and removes the connection.-
Methods inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
addConnectionToExternalService, connectBackToRemote, createConnection, createConnections, createDiscoveryManager, getTopicName, setTopicName
-
Methods inherited from class org.eclipse.persistence.sessions.coordination.TransportManager
decrypt, discardConnections, encrypt, getConnectionsToExternalServices, getConnectionToLocalHost, getContext, getEncryptedPassword, getInitialContextFactoryName, getLocalContextProperties, getNamingServiceType, getPassword, getRemoteCommandManager, getRemoteContextProperties, getRemoteHostContext, getUserName, hasPassword, initialize, newSunCORBATransportManager, removeAllConnectionsToExternalServices, removeConnectionToExternalService, setConfig, setEncryptedPassword, setEncryptionClassName, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteCommandManager, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError
-
-
-
-
Method Detail
-
getConnectionsToExternalServicesForCommandPropagation
public Map<String,org.eclipse.persistence.internal.sessions.coordination.RemoteConnection> getConnectionsToExternalServicesForCommandPropagation()
Method to return the connection with the hazelcast topic.- Overrides:
getConnectionsToExternalServicesForCommandPropagationin classorg.eclipse.persistence.sessions.coordination.TransportManager- Returns:
- Map containing the hz connection.
-
createLocalConnection
public void createLocalConnection()
Creates the hz connection.- Specified by:
createLocalConnectionin classorg.eclipse.persistence.sessions.coordination.TransportManager
-
removeLocalConnection
public void removeLocalConnection()
Closes and removes the connection.- Specified by:
removeLocalConnectionin classorg.eclipse.persistence.sessions.coordination.TransportManager
-
-