public class CoherenceAddressProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COHERENCE_ADDRESS_PROVIDER_TOKEN
The alias token used to substitute the Coherence cluster name in the alias' WLST path.
|
Constructor and Description |
---|
CoherenceAddressProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
addSocketAddress(CoherenceSocketAddress socketAddress)
Add a SocketAddress.
|
String |
getId()
Get the ID.
|
String |
getName()
Get the name.
|
CoherenceSocketAddress |
getSocketAddress(String id)
Get the specified SocketAddress.
|
List<CoherenceSocketAddress> |
getSocketAddresses()
Get the list of SocketAddress objects.
|
CoherenceAddressProvider |
setId(String id)
Set the ID.
|
CoherenceAddressProvider |
setName(String name)
Set the name.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public static final String COHERENCE_ADDRESS_PROVIDER_TOKEN
public String getId()
public CoherenceAddressProvider setId(String id)
id
- the new IDpublic String getName()
public CoherenceAddressProvider setName(String name)
name
- the new namepublic boolean addSocketAddress(CoherenceSocketAddress socketAddress)
socketAddress
- the SocketAddress to addpublic CoherenceSocketAddress getSocketAddress(String id)
id
- the ID of the SocketAddress to getpublic List<CoherenceSocketAddress> getSocketAddresses()
public String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()