Class ServiceId
java.lang.Object
org.eclipse.persistence.sessions.coordination.ServiceId
- All Implemented Interfaces:
Serializable
Purpose: Encapsulate the information that uniquely identifies a specific remote command service instance.
Description: A service instance consists primarily of a CommandManager and its associated components including its CommandProcessor, CommandConverter, DiscoveryManager and TransportManager. Whenever a service instance sends out an announcement or remote command to the cluster the service id is included in the message.
- See Also:
-
ServiceAnnouncement
- Serialized Form
- Author:
- Steven Vo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionINTERNAL: Return the logical channel that this service subscribes togetId()
INTERNAL: Get the unique identifier for the servicegetURL()
INTERNAL: Return the URL for the servicevoid
setChannel
(String newChannel) INTERNAL: Set the logical channel that this service subscribes tovoid
INTERNAL: Set the unique identifier for the servicevoid
INTERNAL: Set the URL for the servicetoString()
-
Field Details
-
HOST_TOKEN
This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input- See Also:
-
PORT_TOKEN
This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input- See Also:
-
-
Constructor Details
-
ServiceId
public ServiceId() -
ServiceId
-
-
Method Details
-
getURL
INTERNAL: Return the URL for the service -
setURL
INTERNAL: Set the URL for the service -
getId
INTERNAL: Get the unique identifier for the service -
setId
INTERNAL: Set the unique identifier for the service -
getChannel
INTERNAL: Return the logical channel that this service subscribes to -
setChannel
INTERNAL: Set the logical channel that this service subscribes to -
toString
-