public class ConfigurationImpl extends Object implements Configuration
| Constructor and Description |
|---|
ConfigurationImpl() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
copy() |
boolean |
equals(Object obj) |
Set<TransportConfiguration> |
getAcceptorConfigurations()
Returns the acceptors configured for this server.
|
Map<String,AddressSettings> |
getAddressesSettings() |
String |
getBackupGroupName()
returns the name used to group of live/backup servers
|
Set<Configuration> |
getBackupServerConfigurations() |
String |
getBindingsDirectory()
Returns the file system directory used to store bindings.
|
List<BridgeConfiguration> |
getBridgeConfigurations()
Returns the bridges configured for this server.
|
List<BroadcastGroupConfiguration> |
getBroadcastGroupConfigurations()
Returns the broadcast groups configured for this server.
|
List<ClusterConnectionConfiguration> |
getClusterConfigurations()
Returns the cluster connections configured for this server.
|
String |
getClusterPassword()
Returns the cluster password for this server.
|
String |
getClusterUser()
Returns the cluster user for this server.
|
long |
getConnectionTTLOverride()
Returns the connection time to live.
|
Map<String,TransportConfiguration> |
getConnectorConfigurations()
Returns the connectors configured for this server.
|
List<ConnectorServiceConfiguration> |
getConnectorServiceConfigurations() |
Map<String,DiscoveryGroupConfiguration> |
getDiscoveryGroupConfigurations()
Returns the discovery groups configured for this server.
|
List<DivertConfiguration> |
getDivertConfigurations()
Returns the diverts configured for this server.
|
long |
getFailbackDelay()
Returns the delay to wait before fail-back occurs on restart.
|
long |
getFileDeployerScanPeriod()
Returns the period (in milliseconds) to scan configuration files used by deployment.
|
GroupingHandlerConfiguration |
getGroupingHandlerConfiguration()
Returns the grouping handler configured for this server.
|
int |
getIDCacheSize()
Returns the size of the cache for pre-creating message IDs.
|
List<String> |
getIncomingInterceptorClassNames()
Returns the list of interceptors classes used by this server for incoming messages (i.e.
|
List<String> |
getInterceptorClassNames()
Deprecated.
|
String |
getJMXDomain()
Returns the domain used by JMX MBeans (provided JMX management is enabled).
|
int |
getJournalBufferSize_AIO()
Returns the buffer size (in bytes) for AIO.
|
int |
getJournalBufferSize_NIO()
Returns the buffer size (in bytes) for NIO.
|
int |
getJournalBufferTimeout_AIO()
Returns the timeout (in nanoseconds) used to flush buffers in the AIO queue.
|
int |
getJournalBufferTimeout_NIO()
Returns the timeout (in nanoseconds) used to flush buffers in the NIO.
|
int |
getJournalCompactMinFiles()
Returns the minimal number of journal files before compacting.
|
int |
getJournalCompactPercentage()
Returns the percentage of live data before compacting the journal.
|
String |
getJournalDirectory()
Returns the file system directory used to store journal log.
|
int |
getJournalFileSize()
Returns the size (in bytes) of each journal files.
|
int |
getJournalMaxIO_AIO()
Returns the maximum number of write requests that can be in the AIO queue at any given time.
|
int |
getJournalMaxIO_NIO()
Returns the maximum number of write requests for NIO journal.
|
int |
getJournalMinFiles()
Returns the number of journal files to pre-create.
|
int |
getJournalPerfBlastPages() |
JournalType |
getJournalType()
Returns the type of journal used by this server (either
NIO or ASYNCIO). |
String |
getLargeMessagesDirectory()
Returns the file system directory used to store large messages.
|
SimpleString |
getManagementAddress()
Returns the management address of this server.
|
SimpleString |
getManagementNotificationAddress()
Returns the management notification address of this server.
|
int |
getMaxSavedReplicatedJournalsSize() |
long |
getMemoryMeasureInterval() |
int |
getMemoryWarningThreshold() |
int |
getMessageCounterMaxDayHistory()
Returns the maximum number of days kept in memory for message counter.
|
long |
getMessageCounterSamplePeriod()
Returns the sample period (in milliseconds) to take message counter snapshot.
|
long |
getMessageExpiryScanPeriod()
Returns the frequency (in milliseconds) to scan messages to detect which messages have
expired.
|
int |
getMessageExpiryThreadPriority()
Returns the priority of the thread used to scan message expiration.
|
String |
getName()
To be used on dependency management on the application server
|
List<String> |
getOutgoingInterceptorClassNames()
Returns the list of interceptors classes used by this server for outgoing messages (i.e.
|
int |
getPageMaxConcurrentIO()
The max number of concurrent reads allowed on paging.
|
String |
getPagingDirectory()
Returns the file system directory used to store paging files.
|
String |
getPasswordCodec()
Gets the default password decoder
|
List<CoreQueueConfiguration> |
getQueueConfigurations()
Returns the queues configured for this server.
|
String |
getReplicationClustername() |
int |
getScheduledThreadPoolMaxSize()
Returns the maximum number of threads in the scheduled thread pool of this server.
|
long |
getSecurityInvalidationInterval()
Returns the interval time (in milliseconds) to invalidate security credentials.
|
Map<String,Set<Role>> |
getSecurityRoles() |
long |
getServerDumpInterval() |
int |
getThreadPoolMaxSize()
Returns the maximum number of threads in the thread pool of this server.
|
long |
getTransactionTimeout()
Returns the timeout (in milliseconds) after which transactions is removed from the resource
manager after it was created.
|
long |
getTransactionTimeoutScanPeriod()
Returns the frequency (in milliseconds) to scan transactions to detect which transactions have
timed out.
|
int |
hashCode() |
boolean |
isAllowAutoFailBack()
Returns whether a backup will automatically stop when a live server is restarting (i.e.
|
boolean |
isAsyncConnectionExecutionEnabled()
Returns whether code coming from connection is executed asynchronously or not.
|
boolean |
isBackup()
Returns
true if this server is a backup, false if it is a live server. |
boolean |
isCheckForLiveServer()
Whether to check if the cluster already has a (live) node with our node-ID.
|
boolean |
isClustered()
Returns whether this server is clustered.
|
boolean |
isCreateBindingsDir()
Returns whether the bindings directory is created on this server startup.
|
boolean |
isCreateJournalDir()
Returns whether the journal directory is created on this server startup.
|
boolean |
isFailoverOnServerShutdown()
Should we notify any clients on close that they should failover.
|
boolean |
isFileDeploymentEnabled()
Returns whether this server will use files to configure and deploy its resources.
|
boolean |
isJMXManagementEnabled()
Returns whether this server is manageable using JMX or not.
|
boolean |
isJournalSyncNonTransactional()
Returns whether the journal is synchronized when receiving non-transactional data.
|
boolean |
isJournalSyncTransactional()
Returns whether the journal is synchronized when receiving transactional data.
|
boolean |
isLogJournalWriteRate() |
boolean |
isMaskPassword()
If passwords are masked.
|
boolean |
isMessageCounterEnabled()
Returns whether message counter is enabled for this server.
|
boolean |
isPersistDeliveryCountBeforeDelivery()
Returns whether delivery count is persisted before messages are delivered to the consumers.
|
boolean |
isPersistenceEnabled()
Returns whether this server is using persistence and store data.
|
boolean |
isPersistIDCache()
Returns whether message ID cache is persisted.
|
boolean |
isResolveProtocols() |
boolean |
isRunSyncSpeedTest() |
boolean |
isSecurityEnabled()
Returns whether security is enabled for this server.
|
boolean |
isSharedStore()
Returns whether this server shares its data store with a corresponding live or backup server.
|
boolean |
isWildcardRoutingEnabled()
Returns whether wildcard routing is supported by this server.
|
void |
setAcceptorConfigurations(Set<TransportConfiguration> infos)
Sets the acceptors configured for this server.
|
void |
setAddressesSettings(Map<String,AddressSettings> addressesSettings) |
void |
setAllowAutoFailBack(boolean allowAutoFailBack)
whether a backup will automatically stop when a live server is restarting (i.e.
|
void |
setBackup(boolean backup)
Sets whether this server is a backup or not.
|
void |
setBackupGroupName(String nodeGroupName)
Used to configure groups of live/backup servers.
|
void |
setBindingsDirectory(String dir)
Sets the file system directory used to store bindings.
|
void |
setBridgeConfigurations(List<BridgeConfiguration> configs)
Sets the bridges configured for this server.
|
void |
setBroadcastGroupConfigurations(List<BroadcastGroupConfiguration> configs)
Sets the broadcast groups configured for this server.
|
void |
setCheckForLiveServer(boolean checkForLiveServer)
Sets whether to check if the cluster already has a (live) node with our node-ID.
|
void |
setClusterConfigurations(List<ClusterConnectionConfiguration> configs)
Sets the cluster connections configured for this server.
|
void |
setClusterPassword(String theclusterPassword)
Sets the cluster password for this server.
|
void |
setClusterUser(String user)
Sets the cluster user for this server.
|
void |
setConnectionTTLOverride(long ttl)
Sets the connection time to live.
|
void |
setConnectorConfigurations(Map<String,TransportConfiguration> infos)
Sets the connectors configured for this server.
|
void |
setConnectorServiceConfigurations(List<ConnectorServiceConfiguration> configs) |
void |
setCreateBindingsDir(boolean create)
Sets whether the bindings directory is created on this server startup.
|
void |
setCreateJournalDir(boolean create)
Sets whether the journal directory is created on this server startup.
|
void |
setDiscoveryGroupConfigurations(Map<String,DiscoveryGroupConfiguration> discoveryGroupConfigurations)
Sets the discovery groups configured for this server.
|
void |
setDivertConfigurations(List<DivertConfiguration> configs)
Sets the diverts configured for this server.
|
void |
setEnabledAsyncConnectionExecution(boolean enabled)
Sets whether code coming from connection is executed asynchronously or not.
|
void |
setFailbackDelay(long failbackDelay)
Sets the fail-back delay.
|
void |
setFailoverOnServerShutdown(boolean failoverOnServerShutdown)
Sets whether to allow clients to failover on server shutdown.
|
void |
setFileDeployerScanPeriod(long period)
Sets the period to scan configuration files used by deployment.
|
void |
setFileDeploymentEnabled(boolean enable)
Sets whether this server will use files to configure and deploy its resources.
|
void |
setGroupingHandlerConfiguration(GroupingHandlerConfiguration groupingHandlerConfiguration)
Sets the grouping handler configured for this server.
|
void |
setIDCacheSize(int idCacheSize)
Sets the size of the cache for pre-creating message IDs.
|
void |
setIncomingInterceptorClassNames(List<String> interceptors)
Sets the list of interceptors classes used by this server for incoming messages (i.e.
|
void |
setInterceptorClassNames(List<String> interceptors)
Deprecated.
|
void |
setJMXDomain(String domain)
Sets the domain used by JMX MBeans (provided JMX management is enabled).
|
void |
setJMXManagementEnabled(boolean enabled)
Sets whether this server is manageable using JMX or not.
|
void |
setJournalBufferSize_AIO(int journalBufferSize)
Sets the buffer size (in bytes) for AIO.
|
void |
setJournalBufferSize_NIO(int journalBufferSize)
Sets the buffer size (in bytes) for NIO.
|
void |
setJournalBufferTimeout_AIO(int journalBufferTimeout)
Sets the timeout (in nanoseconds) used to flush buffers in the AIO queue.
|
void |
setJournalBufferTimeout_NIO(int journalBufferTimeout)
Sets the timeout (in nanoseconds) used to flush buffers in the NIO.
|
void |
setJournalCompactMinFiles(int minFiles)
Sets the minimal number of journal files before compacting.
|
void |
setJournalCompactPercentage(int percentage)
Sets the percentage of live data before compacting the journal.
|
void |
setJournalDirectory(String dir)
Sets the file system directory used to store journal log.
|
void |
setJournalFileSize(int size)
Sets the size (in bytes) of each journal files.
|
void |
setJournalMaxIO_AIO(int journalMaxIO)
Sets the maximum number of write requests that can be in the AIO queue at any given time.
|
void |
setJournalMaxIO_NIO(int journalMaxIO)
Sets the maximum number of write requests for NIO journal.
|
void |
setJournalMinFiles(int files)
Sets the number of journal files to pre-create.
|
void |
setJournalPerfBlastPages(int journalPerfBlastPages) |
void |
setJournalSyncNonTransactional(boolean sync)
Sets whether the journal is synchronized when receiving non-transactional data.
|
void |
setJournalSyncTransactional(boolean sync)
Sets whether the journal is synchronized when receiving transactional data.
|
void |
setJournalType(JournalType type)
Sets the type of journal used by this server (either
NIO or ASYNCIO). |
void |
setLargeMessagesDirectory(String directory)
Sets the file system directory used to store large messages.
|
void |
setLogJournalWriteRate(boolean logJournalWriteRate) |
void |
setManagementAddress(SimpleString address)
Sets the management address of this server.
|
void |
setManagementNotificationAddress(SimpleString address)
Sets the management notification address of this server.
|
void |
setMaskPassword(boolean maskPassword)
Sets if passwords should be masked or not.
|
void |
setMaxSavedReplicatedJournalSize(int maxSavedReplicatedJournalsSize)
How many backup journals to keep after failback occurs.
|
void |
setMemoryMeasureInterval(long memoryMeasureInterval) |
void |
setMemoryWarningThreshold(int memoryWarningThreshold) |
void |
setMessageCounterEnabled(boolean enabled)
Sets whether message counter is enabled for this server.
|
void |
setMessageCounterMaxDayHistory(int maxDayHistory)
Sets the maximum number of days kept in memory for message counter.
|
void |
setMessageCounterSamplePeriod(long period)
Sets the sample period to take message counter snapshot.
|
void |
setMessageExpiryScanPeriod(long messageExpiryScanPeriod)
Sets the frequency (in milliseconds) to scan messages to detect which messages
have expired.
|
void |
setMessageExpiryThreadPriority(int messageExpiryThreadPriority)
Sets the priority of the thread used to scan message expiration.
|
void |
setName(String name)
To be used on dependency management on the application server
|
void |
setOutgoingInterceptorClassNames(List<String> interceptors)
Sets the list of interceptors classes used by this server for outgoing messages (i.e.
|
void |
setPageMaxConcurrentIO(int maxIO)
The max number of concurrent reads allowed on paging.
|
void |
setPagingDirectory(String dir)
Sets the file system directory used to store paging files.
|
void |
setPasswordCodec(String codec)
The default password decoder
|
void |
setPersistDeliveryCountBeforeDelivery(boolean persistDeliveryCountBeforeDelivery)
Sets whether delivery count is persisted before messages are delivered to consumers.
|
void |
setPersistenceEnabled(boolean enable)
Sets whether this server is using persistence and store data.
|
void |
setPersistIDCache(boolean persist)
Sets whether message ID cache is persisted.
|
void |
setQueueConfigurations(List<CoreQueueConfiguration> configs)
Sets the queues configured for this server.
|
void |
setReplicationClustername(String clusterName)
Name of the cluster configuration to use for replication.
|
void |
setResolveProtocols(boolean resolveProtocols) |
void |
setRunSyncSpeedTest(boolean run) |
void |
setScheduledThreadPoolMaxSize(int maxSize)
Sets the maximum number of threads in the scheduled thread pool of this server.
|
void |
setSecurityEnabled(boolean enabled)
Sets whether security is enabled for this server.
|
void |
setSecurityInvalidationInterval(long interval)
Sets the interval time (in milliseconds) to invalidate security credentials.
|
void |
setSecurityRoles(Map<String,Set<Role>> securitySettings) |
void |
setServerDumpInterval(long intervalInMilliseconds) |
void |
setSharedStore(boolean sharedStore)
Sets whether this server shares its data store with a backup or live server.
|
void |
setThreadPoolMaxSize(int maxSize)
Sets the maximum number of threads in the thread pool of this server.
|
void |
setTransactionTimeout(long timeout)
Sets the timeout (in milliseconds) after which transactions is removed
from the resource manager after it was created.
|
void |
setTransactionTimeoutScanPeriod(long period)
Sets the frequency (in milliseconds) to scan transactions to detect which transactions
have timed out.
|
void |
setWildcardRoutingEnabled(boolean enabled)
Sets whether wildcard routing is supported by this server.
|
String |
toString() |
public static final JournalType DEFAULT_JOURNAL_TYPE
protected boolean backup
protected boolean fileDeploymentEnabled
protected long fileDeploymentScanPeriod
protected boolean jmxManagementEnabled
protected String jmxDomain
protected long connectionTTLOverride
protected boolean asyncConnectionExecutionEnabled
protected int idCacheSize
protected Map<String,TransportConfiguration> connectorConfigs
protected List<BridgeConfiguration> bridgeConfigurations
protected List<DivertConfiguration> divertConfigurations
protected List<ClusterConnectionConfiguration> clusterConfigurations
protected List<BroadcastGroupConfiguration> broadcastGroupConfigurations
protected Map<String,DiscoveryGroupConfiguration> discoveryGroupConfigurations
protected String largeMessagesDirectory
protected String bindingsDirectory
protected boolean createBindingsDir
protected String journalDirectory
protected boolean createJournalDir
public JournalType journalType
protected boolean journalSyncTransactional
protected boolean journalSyncNonTransactional
protected int journalCompactMinFiles
protected int journalCompactPercentage
protected int journalFileSize
protected int journalMinFiles
protected int journalMaxIO_AIO
protected int journalBufferTimeout_AIO
protected int journalBufferSize_AIO
protected int journalMaxIO_NIO
protected int journalBufferTimeout_NIO
protected int journalBufferSize_NIO
protected boolean logJournalWriteRate
protected int journalPerfBlastPages
protected boolean runSyncSpeedTest
protected String clusterUser
protected String clusterPassword
protected boolean failoverOnServerShutdown
protected GroupingHandlerConfiguration groupingHandlerConfiguration
protected List<ConnectorServiceConfiguration> connectorServiceConfigurations
public boolean isClustered()
Configurationtrue if Configuration.getClusterConfigurations() is not empty.isClustered in interface Configurationpublic boolean isAllowAutoFailBack()
ConfigurationisAllowAutoFailBack in interface Configurationtrue if the backup will stop when the live server restartspublic void setAllowAutoFailBack(boolean allowAutoFailBack)
ConfigurationsetAllowAutoFailBack in interface ConfigurationallowAutoFailBack - true if allowedpublic boolean isBackup()
Configurationtrue if this server is a backup, false if it is a live server. false. isBackup in interface Configurationpublic boolean isFileDeploymentEnabled()
ConfigurationisFileDeploymentEnabled in interface Configurationpublic void setFileDeploymentEnabled(boolean enable)
ConfigurationsetFileDeploymentEnabled in interface Configurationpublic boolean isPersistenceEnabled()
ConfigurationisPersistenceEnabled in interface Configurationpublic void setPersistenceEnabled(boolean enable)
ConfigurationsetPersistenceEnabled in interface Configurationpublic long getFileDeployerScanPeriod()
ConfigurationgetFileDeployerScanPeriod in interface Configurationpublic void setFileDeployerScanPeriod(long period)
ConfigurationsetFileDeployerScanPeriod in interface Configurationpublic boolean isPersistDeliveryCountBeforeDelivery()
ConfigurationisPersistDeliveryCountBeforeDelivery in interface Configurationpublic void setPersistDeliveryCountBeforeDelivery(boolean persistDeliveryCountBeforeDelivery)
ConfigurationsetPersistDeliveryCountBeforeDelivery in interface Configurationpublic void setBackup(boolean backup)
ConfigurationsetBackup in interface Configurationpublic boolean isSharedStore()
ConfigurationisSharedStore in interface Configurationpublic void setSharedStore(boolean sharedStore)
ConfigurationsetSharedStore in interface Configurationpublic int getScheduledThreadPoolMaxSize()
ConfigurationgetScheduledThreadPoolMaxSize in interface Configurationpublic void setScheduledThreadPoolMaxSize(int maxSize)
ConfigurationsetScheduledThreadPoolMaxSize in interface Configurationpublic int getThreadPoolMaxSize()
ConfigurationgetThreadPoolMaxSize in interface Configurationpublic void setThreadPoolMaxSize(int maxSize)
ConfigurationsetThreadPoolMaxSize in interface Configurationpublic long getSecurityInvalidationInterval()
ConfigurationgetSecurityInvalidationInterval in interface Configurationpublic void setSecurityInvalidationInterval(long interval)
ConfigurationsetSecurityInvalidationInterval in interface Configurationpublic long getConnectionTTLOverride()
ConfigurationgetConnectionTTLOverride in interface Configurationpublic void setConnectionTTLOverride(long ttl)
ConfigurationsetConnectionTTLOverride in interface Configurationpublic boolean isAsyncConnectionExecutionEnabled()
ConfigurationisAsyncConnectionExecutionEnabled in interface Configurationpublic void setEnabledAsyncConnectionExecution(boolean enabled)
ConfigurationsetEnabledAsyncConnectionExecution in interface Configuration@Deprecated public List<String> getInterceptorClassNames()
ConfigurationgetIncomingInterceptorClassNames().getInterceptorClassNames in interface Configuration@Deprecated public void setInterceptorClassNames(List<String> interceptors)
ConfigurationsetIncomingInterceptorClassNames(List) Interceptor.
Deprecated but not immediately deleted, as embedded users may be using this file.setInterceptorClassNames in interface Configurationpublic List<String> getIncomingInterceptorClassNames()
ConfigurationgetIncomingInterceptorClassNames in interface Configurationpublic void setIncomingInterceptorClassNames(List<String> interceptors)
ConfigurationInterceptor.setIncomingInterceptorClassNames in interface Configurationpublic List<String> getOutgoingInterceptorClassNames()
ConfigurationgetOutgoingInterceptorClassNames in interface Configurationpublic void setOutgoingInterceptorClassNames(List<String> interceptors)
ConfigurationInterceptor.setOutgoingInterceptorClassNames in interface Configurationpublic Set<TransportConfiguration> getAcceptorConfigurations()
ConfigurationgetAcceptorConfigurations in interface Configurationpublic void setAcceptorConfigurations(Set<TransportConfiguration> infos)
ConfigurationsetAcceptorConfigurations in interface Configurationpublic Map<String,TransportConfiguration> getConnectorConfigurations()
ConfigurationgetConnectorConfigurations in interface Configurationpublic void setConnectorConfigurations(Map<String,TransportConfiguration> infos)
ConfigurationsetConnectorConfigurations in interface Configurationpublic GroupingHandlerConfiguration getGroupingHandlerConfiguration()
ConfigurationgetGroupingHandlerConfiguration in interface Configurationpublic void setGroupingHandlerConfiguration(GroupingHandlerConfiguration groupingHandlerConfiguration)
ConfigurationsetGroupingHandlerConfiguration in interface Configurationpublic List<BridgeConfiguration> getBridgeConfigurations()
ConfigurationgetBridgeConfigurations in interface Configurationpublic void setBridgeConfigurations(List<BridgeConfiguration> configs)
ConfigurationsetBridgeConfigurations in interface Configurationpublic List<BroadcastGroupConfiguration> getBroadcastGroupConfigurations()
ConfigurationgetBroadcastGroupConfigurations in interface Configurationpublic void setBroadcastGroupConfigurations(List<BroadcastGroupConfiguration> configs)
ConfigurationsetBroadcastGroupConfigurations in interface Configurationpublic List<ClusterConnectionConfiguration> getClusterConfigurations()
ConfigurationClusterConnectionConfiguration
used by this configuration.getClusterConfigurations in interface Configurationpublic void setClusterConfigurations(List<ClusterConnectionConfiguration> configs)
ConfigurationsetClusterConfigurations in interface Configurationpublic List<DivertConfiguration> getDivertConfigurations()
ConfigurationgetDivertConfigurations in interface Configurationpublic void setDivertConfigurations(List<DivertConfiguration> configs)
ConfigurationsetDivertConfigurations in interface Configurationpublic List<CoreQueueConfiguration> getQueueConfigurations()
ConfigurationgetQueueConfigurations in interface Configurationpublic void setQueueConfigurations(List<CoreQueueConfiguration> configs)
ConfigurationsetQueueConfigurations in interface Configurationpublic Map<String,DiscoveryGroupConfiguration> getDiscoveryGroupConfigurations()
ConfigurationgetDiscoveryGroupConfigurations in interface Configurationpublic void setDiscoveryGroupConfigurations(Map<String,DiscoveryGroupConfiguration> discoveryGroupConfigurations)
ConfigurationsetDiscoveryGroupConfigurations in interface Configurationpublic int getIDCacheSize()
ConfigurationgetIDCacheSize in interface Configurationpublic void setIDCacheSize(int idCacheSize)
ConfigurationsetIDCacheSize in interface Configurationpublic boolean isPersistIDCache()
ConfigurationisPersistIDCache in interface Configurationpublic void setPersistIDCache(boolean persist)
ConfigurationsetPersistIDCache in interface Configurationpublic String getBindingsDirectory()
ConfigurationgetBindingsDirectory in interface Configurationpublic void setBindingsDirectory(String dir)
ConfigurationsetBindingsDirectory in interface Configurationpublic int getPageMaxConcurrentIO()
ConfigurationgetPageMaxConcurrentIO in interface Configurationpublic void setPageMaxConcurrentIO(int maxIO)
ConfigurationsetPageMaxConcurrentIO in interface Configurationpublic String getJournalDirectory()
ConfigurationgetJournalDirectory in interface Configurationpublic void setJournalDirectory(String dir)
ConfigurationsetJournalDirectory in interface Configurationpublic JournalType getJournalType()
ConfigurationNIO or ASYNCIO).
getJournalType in interface Configurationpublic void setPagingDirectory(String dir)
ConfigurationsetPagingDirectory in interface Configurationpublic String getPagingDirectory()
ConfigurationgetPagingDirectory in interface Configurationpublic void setJournalType(JournalType type)
ConfigurationNIO or ASYNCIO).setJournalType in interface Configurationpublic boolean isJournalSyncTransactional()
ConfigurationisJournalSyncTransactional in interface Configurationpublic void setJournalSyncTransactional(boolean sync)
ConfigurationsetJournalSyncTransactional in interface Configurationpublic boolean isJournalSyncNonTransactional()
ConfigurationisJournalSyncNonTransactional in interface Configurationpublic void setJournalSyncNonTransactional(boolean sync)
ConfigurationsetJournalSyncNonTransactional in interface Configurationpublic int getJournalFileSize()
ConfigurationgetJournalFileSize in interface Configurationpublic void setJournalFileSize(int size)
ConfigurationsetJournalFileSize in interface Configurationpublic int getJournalMinFiles()
ConfigurationgetJournalMinFiles in interface Configurationpublic void setJournalMinFiles(int files)
ConfigurationsetJournalMinFiles in interface Configurationpublic boolean isLogJournalWriteRate()
isLogJournalWriteRate in interface Configurationpublic void setLogJournalWriteRate(boolean logJournalWriteRate)
setLogJournalWriteRate in interface Configurationpublic int getJournalPerfBlastPages()
getJournalPerfBlastPages in interface Configurationpublic void setJournalPerfBlastPages(int journalPerfBlastPages)
setJournalPerfBlastPages in interface Configurationpublic boolean isRunSyncSpeedTest()
isRunSyncSpeedTest in interface Configurationpublic void setRunSyncSpeedTest(boolean run)
setRunSyncSpeedTest in interface Configurationpublic boolean isCreateBindingsDir()
ConfigurationisCreateBindingsDir in interface Configurationpublic void setCreateBindingsDir(boolean create)
ConfigurationsetCreateBindingsDir in interface Configurationpublic boolean isCreateJournalDir()
ConfigurationisCreateJournalDir in interface Configurationpublic void setCreateJournalDir(boolean create)
ConfigurationsetCreateJournalDir in interface Configurationpublic boolean isWildcardRoutingEnabled()
ConfigurationisWildcardRoutingEnabled in interface Configurationpublic void setWildcardRoutingEnabled(boolean enabled)
ConfigurationsetWildcardRoutingEnabled in interface Configurationpublic long getTransactionTimeout()
ConfigurationgetTransactionTimeout in interface Configurationpublic void setTransactionTimeout(long timeout)
ConfigurationsetTransactionTimeout in interface Configurationpublic long getTransactionTimeoutScanPeriod()
ConfigurationgetTransactionTimeoutScanPeriod in interface Configurationpublic void setTransactionTimeoutScanPeriod(long period)
ConfigurationsetTransactionTimeoutScanPeriod in interface Configurationpublic long getMessageExpiryScanPeriod()
ConfigurationgetMessageExpiryScanPeriod in interface Configurationpublic void setMessageExpiryScanPeriod(long messageExpiryScanPeriod)
ConfigurationsetMessageExpiryScanPeriod in interface Configurationpublic int getMessageExpiryThreadPriority()
ConfigurationgetMessageExpiryThreadPriority in interface Configurationpublic void setMessageExpiryThreadPriority(int messageExpiryThreadPriority)
ConfigurationsetMessageExpiryThreadPriority in interface Configurationpublic boolean isSecurityEnabled()
ConfigurationisSecurityEnabled in interface Configurationpublic void setSecurityEnabled(boolean enabled)
ConfigurationsetSecurityEnabled in interface Configurationpublic boolean isJMXManagementEnabled()
ConfigurationisJMXManagementEnabled in interface Configurationpublic void setJMXManagementEnabled(boolean enabled)
ConfigurationsetJMXManagementEnabled in interface Configurationpublic String getJMXDomain()
ConfigurationgetJMXDomain in interface Configurationpublic void setJMXDomain(String domain)
ConfigurationsetJMXDomain in interface Configurationpublic String getLargeMessagesDirectory()
ConfigurationgetLargeMessagesDirectory in interface Configurationpublic void setLargeMessagesDirectory(String directory)
ConfigurationsetLargeMessagesDirectory in interface Configurationpublic boolean isMessageCounterEnabled()
ConfigurationisMessageCounterEnabled in interface Configurationpublic void setMessageCounterEnabled(boolean enabled)
ConfigurationsetMessageCounterEnabled in interface Configurationpublic long getMessageCounterSamplePeriod()
ConfigurationgetMessageCounterSamplePeriod in interface Configurationpublic void setMessageCounterSamplePeriod(long period)
ConfigurationsetMessageCounterSamplePeriod in interface Configurationperiod - value must be greater than 1000mspublic int getMessageCounterMaxDayHistory()
ConfigurationgetMessageCounterMaxDayHistory in interface Configurationpublic void setMessageCounterMaxDayHistory(int maxDayHistory)
ConfigurationsetMessageCounterMaxDayHistory in interface ConfigurationmaxDayHistory - value must be greater than 0public SimpleString getManagementAddress()
ConfigurationgetManagementAddress in interface Configurationpublic void setManagementAddress(SimpleString address)
ConfigurationsetManagementAddress in interface Configurationpublic SimpleString getManagementNotificationAddress()
ConfigurationgetManagementNotificationAddress in interface Configurationpublic void setManagementNotificationAddress(SimpleString address)
ConfigurationsetManagementNotificationAddress in interface Configurationpublic String getClusterUser()
ConfigurationgetClusterUser in interface Configurationpublic void setClusterUser(String user)
ConfigurationsetClusterUser in interface Configurationpublic String getClusterPassword()
ConfigurationgetClusterPassword in interface Configurationpublic boolean isFailoverOnServerShutdown()
ConfigurationisFailoverOnServerShutdown in interface ConfigurationConfiguration.setFailoverOnServerShutdown(boolean)public void setFailoverOnServerShutdown(boolean failoverOnServerShutdown)
ConfigurationConfiguration.isAllowAutoFailBack() is true. This is not regarded as a normal shutdown. In this
case failoverOnServerShutdown is ignored, and the server will behave as if it was set
to true.setFailoverOnServerShutdown in interface Configurationpublic void setClusterPassword(String theclusterPassword)
ConfigurationsetClusterPassword in interface Configurationpublic int getJournalCompactMinFiles()
ConfigurationgetJournalCompactMinFiles in interface Configurationpublic int getJournalCompactPercentage()
ConfigurationgetJournalCompactPercentage in interface Configurationpublic void setJournalCompactMinFiles(int minFiles)
ConfigurationsetJournalCompactMinFiles in interface Configurationpublic void setJournalCompactPercentage(int percentage)
ConfigurationsetJournalCompactPercentage in interface Configurationpublic long getServerDumpInterval()
getServerDumpInterval in interface Configurationpublic void setServerDumpInterval(long intervalInMilliseconds)
setServerDumpInterval in interface Configurationpublic int getMemoryWarningThreshold()
getMemoryWarningThreshold in interface Configurationpublic void setMemoryWarningThreshold(int memoryWarningThreshold)
setMemoryWarningThreshold in interface Configurationpublic long getMemoryMeasureInterval()
getMemoryMeasureInterval in interface Configurationpublic void setMemoryMeasureInterval(long memoryMeasureInterval)
setMemoryMeasureInterval in interface Configurationpublic int getJournalMaxIO_AIO()
ConfigurationgetJournalMaxIO_AIO in interface Configurationpublic void setJournalMaxIO_AIO(int journalMaxIO)
ConfigurationsetJournalMaxIO_AIO in interface Configurationpublic int getJournalBufferTimeout_AIO()
ConfigurationgetJournalBufferTimeout_AIO in interface Configurationpublic void setJournalBufferTimeout_AIO(int journalBufferTimeout)
ConfigurationsetJournalBufferTimeout_AIO in interface Configurationpublic int getJournalBufferSize_AIO()
ConfigurationgetJournalBufferSize_AIO in interface Configurationpublic void setJournalBufferSize_AIO(int journalBufferSize)
ConfigurationsetJournalBufferSize_AIO in interface Configurationpublic int getJournalMaxIO_NIO()
ConfigurationgetJournalMaxIO_NIO in interface Configurationpublic void setJournalMaxIO_NIO(int journalMaxIO)
ConfigurationsetJournalMaxIO_NIO in interface Configurationpublic int getJournalBufferTimeout_NIO()
ConfigurationgetJournalBufferTimeout_NIO in interface Configurationpublic void setJournalBufferTimeout_NIO(int journalBufferTimeout)
ConfigurationsetJournalBufferTimeout_NIO in interface Configurationpublic int getJournalBufferSize_NIO()
ConfigurationgetJournalBufferSize_NIO in interface Configurationpublic void setJournalBufferSize_NIO(int journalBufferSize)
ConfigurationsetJournalBufferSize_NIO in interface Configurationpublic Map<String,AddressSettings> getAddressesSettings()
getAddressesSettings in interface Configurationpublic void setAddressesSettings(Map<String,AddressSettings> addressesSettings)
setAddressesSettings in interface ConfigurationaddressesSettings - list of AddressSettings per matching to be deployed to the address
settings repositorypublic Map<String,Set<Role>> getSecurityRoles()
getSecurityRoles in interface Configurationpublic void setSecurityRoles(Map<String,Set<Role>> securitySettings)
setSecurityRoles in interface ConfigurationsecuritySettings - a list of roles per matchingpublic List<ConnectorServiceConfiguration> getConnectorServiceConfigurations()
getConnectorServiceConfigurations in interface ConfigurationConnectorServiceConfigurationpublic long getFailbackDelay()
ConfigurationgetFailbackDelay in interface Configurationpublic void setFailbackDelay(long failbackDelay)
ConfigurationsetFailbackDelay in interface Configurationpublic boolean isCheckForLiveServer()
ConfigurationisCheckForLiveServer in interface Configurationpublic void setCheckForLiveServer(boolean checkForLiveServer)
ConfigurationsetCheckForLiveServer in interface ConfigurationcheckForLiveServer - true if we want to make the checkpublic void setConnectorServiceConfigurations(List<ConnectorServiceConfiguration> configs)
setConnectorServiceConfigurations in interface Configurationpublic String getName()
ConfigurationgetName in interface Configurationpublic void setName(String name)
ConfigurationsetName in interface Configurationpublic String getBackupGroupName()
ConfigurationgetBackupGroupName in interface Configurationpublic void setBackupGroupName(String nodeGroupName)
ConfigurationsetBackupGroupName in interface ConfigurationnodeGroupName - the node group namepublic boolean isMaskPassword()
ConfigurationisMaskPassword in interface Configurationpublic void setMaskPassword(boolean maskPassword)
ConfigurationsetMaskPassword in interface Configurationpublic void setPasswordCodec(String codec)
ConfigurationsetPasswordCodec in interface Configurationpublic String getPasswordCodec()
ConfigurationgetPasswordCodec in interface Configurationpublic void setReplicationClustername(String clusterName)
ConfigurationsetReplicationClustername in interface Configurationpublic String getReplicationClustername()
getReplicationClustername in interface ConfigurationConfiguration.setReplicationClustername(String)public void setMaxSavedReplicatedJournalSize(int maxSavedReplicatedJournalsSize)
ConfigurationsetMaxSavedReplicatedJournalSize in interface Configurationpublic int getMaxSavedReplicatedJournalsSize()
getMaxSavedReplicatedJournalsSize in interface ConfigurationConfiguration.setMaxSavedReplicatedJournalSize(int)public void setResolveProtocols(boolean resolveProtocols)
setResolveProtocols in interface Configurationpublic boolean isResolveProtocols()
isResolveProtocols in interface Configurationpublic Configuration copy() throws Exception
copy in interface ConfigurationExceptionpublic Set<Configuration> getBackupServerConfigurations()
getBackupServerConfigurations in interface ConfigurationCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.