public class CoherenceModule extends Object
Constructor and Description |
---|
CoherenceModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAddressProvider(CoherenceAddressProvider addressProvider)
Add an address provider.
|
boolean |
addCache(CoherenceCache cache)
Add a cache.
|
boolean |
addService(CoherenceService service)
Add a service.
|
boolean |
addWellKnownAddress(CoherenceClusterWellKnownAddress wka)
Add a well-known address.
|
CoherenceAddressProvider |
getAddressProvider(String id)
Get the specified address provider.
|
List<CoherenceAddressProvider> |
getAddressProviders()
Get the list of address providers.
|
CoherenceCache |
getCache(String name)
Get the specified cache.
|
List<CoherenceCache> |
getCaches()
Get the list of caches.
|
Long |
getCustomClusterConfigurationFileLastUpdatedTimestamp()
Get the last updated timestamp for the custom config file.
|
String |
getCustomClusterConfigurationFileName()
Get the custom config file name.
|
PersistenceMode |
getDefaultPersistenceMode()
Get the default persistence mode.
|
FederationTopology |
getFederationTopology()
Get the federation topology.
|
String |
getId()
Get the ID.
|
CoherenceIdentityAsserter |
getIdentityAsserter()
Get the identity asserter.
|
String |
getLoggerName()
Get the logger name.
|
Boolean |
getLoggingEnabled()
Get whether or not logging is enabled.
|
String |
getLogMessageFormat()
Get the log message format.
|
String |
getName()
Get the name.
|
String |
getPersistenceActiveDirectory()
Get the active persistence directory.
|
String |
getPersistenceSnapshotDirectory()
Get the snapshot persistence directory.
|
String |
getPersistenceTrashDirectory()
Get the trash persistence directory.
|
String |
getRemoteCoherenceClusterName()
Get the remote cluster name.
|
Boolean |
getSecurityFrameworkEnabled()
Get whether or not the security framework is enabled.
|
CoherenceService |
getService(String name)
Get the specified service.
|
List<CoherenceService> |
getServices()
Get the list of services.
|
Integer |
getTimeToLive()
Get the time-to-live.
|
TransportType |
getTransportType()
Get the transport type.
|
Boolean |
getUnicastPortAutoAdjust()
Get whether or not to automatically adjust the unicast port.
|
String |
getVersion()
Get the version.
|
CoherenceClusterWellKnownAddress |
getWellKnownAddress(String id)
Get the specified well-known address.
|
List<CoherenceClusterWellKnownAddress> |
getWellKnownAddresses()
Get the list of well-known addresses.
|
boolean |
isCoherenceClusterParamsEmpty()
Determine whether or not the ClusterParams folder-related params are empty.
|
boolean |
isCoherenceFederationParamsEmpty()
Determines whether or not the FederationParams folder-related params are empty.
|
boolean |
isCoherenceLoggingParamsEmpty()
Determines whether or not the LoggingParams folder-related params are empty.
|
boolean |
isPersistenceParamsEmpty()
Determines whether or not the PersistenceParams folder-related params are empty.
|
CoherenceModule |
setCustomClusterConfigurationFileLastUpdatedTimestamp(Long customClusterConfigurationFileLastUpdatedTimestamp)
Set the last updated timestamp for the custom config file.
|
CoherenceModule |
setCustomClusterConfigurationFileName(String customClusterConfigurationFileName)
Set the custom config file name.
|
CoherenceModule |
setDefaultPersistenceMode(PersistenceMode defaultPersistenceMode)
Set the default persistence mode.
|
CoherenceModule |
setFederationTopology(FederationTopology federationTopology)
Set the federation topology.
|
CoherenceModule |
setId(String id)
Set the ID.
|
CoherenceModule |
setIdentityAsserter(CoherenceIdentityAsserter identityAsserter)
Set the identity asserter.
|
CoherenceModule |
setLoggerName(String loggerName)
Set the logger name.
|
CoherenceModule |
setLoggingEnabled(Boolean loggingEnabled)
Set whether or not logging is enabled.
|
CoherenceModule |
setLogMessageFormat(String logMessageFormat)
Set the log message format.
|
CoherenceModule |
setName(String name)
Set the name.
|
CoherenceModule |
setPersistenceActiveDirectory(String persistenceActiveDirectory)
Set the active persistence directory.
|
CoherenceModule |
setPersistenceSnapshotDirectory(String persistenceSnapshotDirectory)
Set the snapshot persistence directory.
|
CoherenceModule |
setPersistenceTrashDirectory(String persistenceTrashDirectory)
Set the trash persistence directory.
|
CoherenceModule |
setRemoteCoherenceClusterName(String remoteCoherenceClusterName)
Set the remote cluster name.
|
CoherenceModule |
setSecurityFrameworkEnabled(Boolean securityFrameworkEnabled)
Set whether or not the security framework is enabled.
|
CoherenceModule |
setTimeToLive(Integer timeToLive)
Set the time-to-live
|
CoherenceModule |
setTransportType(TransportType transportType)
Set the transport type.
|
CoherenceModule |
setUnicastPortAutoAdjust(Boolean unicastPortAutoAdjust)
Set whether or not to automatically adjust the unicast port.
|
CoherenceModule |
setVersion(String version)
Set the version.
|
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 String getId()
public CoherenceModule setId(String id)
id
- the new IDpublic Long getCustomClusterConfigurationFileLastUpdatedTimestamp()
public CoherenceModule setCustomClusterConfigurationFileLastUpdatedTimestamp(Long customClusterConfigurationFileLastUpdatedTimestamp)
customClusterConfigurationFileLastUpdatedTimestamp
- the new last updated timepublic String getCustomClusterConfigurationFileName()
public CoherenceModule setCustomClusterConfigurationFileName(String customClusterConfigurationFileName)
customClusterConfigurationFileName
- thbe new file namepublic String getName()
public CoherenceModule setName(String name)
name
- the new namepublic String getVersion()
public CoherenceModule setVersion(String version)
version
- the new versionpublic Boolean getSecurityFrameworkEnabled()
public CoherenceModule setSecurityFrameworkEnabled(Boolean securityFrameworkEnabled)
securityFrameworkEnabled
- the new valuepublic Integer getTimeToLive()
public CoherenceModule setTimeToLive(Integer timeToLive)
timeToLive
- the new time-to-livepublic TransportType getTransportType()
public CoherenceModule setTransportType(TransportType transportType)
transportType
- the new transport typepublic Boolean getUnicastPortAutoAdjust()
public CoherenceModule setUnicastPortAutoAdjust(Boolean unicastPortAutoAdjust)
unicastPortAutoAdjust
- the new valuepublic FederationTopology getFederationTopology()
public CoherenceModule setFederationTopology(FederationTopology federationTopology)
federationTopology
- the new federation topologypublic String getRemoteCoherenceClusterName()
public CoherenceModule setRemoteCoherenceClusterName(String remoteCoherenceClusterName)
remoteCoherenceClusterName
- the new remote cluster namepublic Boolean getLoggingEnabled()
public CoherenceModule setLoggingEnabled(Boolean loggingEnabled)
loggingEnabled
- the new valuepublic String getLoggerName()
public CoherenceModule setLoggerName(String loggerName)
loggerName
- the new logger namepublic String getLogMessageFormat()
public CoherenceModule setLogMessageFormat(String logMessageFormat)
logMessageFormat
- the new log message formatpublic String getPersistenceActiveDirectory()
public CoherenceModule setPersistenceActiveDirectory(String persistenceActiveDirectory)
persistenceActiveDirectory
- the new active persistence directorypublic PersistenceMode getDefaultPersistenceMode()
public CoherenceModule setDefaultPersistenceMode(PersistenceMode defaultPersistenceMode)
defaultPersistenceMode
- the new default persistence modepublic String getPersistenceSnapshotDirectory()
public CoherenceModule setPersistenceSnapshotDirectory(String persistenceSnapshotDirectory)
persistenceSnapshotDirectory
- the new snapshot persistence directorypublic String getPersistenceTrashDirectory()
public CoherenceModule setPersistenceTrashDirectory(String persistenceTrashDirectory)
persistenceTrashDirectory
- the new trash persistence directorypublic boolean addAddressProvider(CoherenceAddressProvider addressProvider)
addressProvider
- the address provider to addpublic CoherenceAddressProvider getAddressProvider(String id)
id
- the ID of the address provider to getpublic List<CoherenceAddressProvider> getAddressProviders()
public CoherenceIdentityAsserter getIdentityAsserter()
public CoherenceModule setIdentityAsserter(CoherenceIdentityAsserter identityAsserter)
identityAsserter
- the new identity asserterpublic boolean addCache(CoherenceCache cache)
cache
- the cache to addpublic CoherenceCache getCache(String name)
name
- the name of the cache to getpublic List<CoherenceCache> getCaches()
public boolean addWellKnownAddress(CoherenceClusterWellKnownAddress wka)
wka
- the well-known address to addpublic CoherenceClusterWellKnownAddress getWellKnownAddress(String id)
id
- the id of the well-known address to getpublic List<CoherenceClusterWellKnownAddress> getWellKnownAddresses()
public boolean addService(CoherenceService service)
service
- the service to addpublic CoherenceService getService(String name)
name
- the name of the service to getpublic List<CoherenceService> getServices()
public boolean isCoherenceClusterParamsEmpty()
public boolean isCoherenceFederationParamsEmpty()
public boolean isCoherenceLoggingParamsEmpty()
public boolean isPersistenceParamsEmpty()
public String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()