public final class HornetQDefaultConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultBindingsDirectory()
the directory to store the persisted bindings to
|
static int |
getDefaultBridgeConnectSameNode()
Upon reconnection this configures the number of time the same node on the topology will be retried before reseting the server locator and using the initial connectors
|
static int |
getDefaultBridgeReconnectAttempts()
maximum number of retry attempts, -1 means 'no limits'
|
static long |
getDefaultBroadcastPeriod()
period in milliseconds between consecutive broadcasts
|
static int |
getDefaultBroadcastRefreshTimeout()
Period the discovery group waits after receiving the last broadcast from a particular server before removing that servers connector pair entry from its list.
|
static long |
getDefaultClientFailureCheckPeriod() |
static long |
getDefaultClusterConnectionTtl()
how long to keep a connection alive in the absence of any data arriving from the client
|
static long |
getDefaultClusterFailureCheckPeriod()
The period (in milliseconds) used to check if the cluster connection has failed to receive pings from another server
|
static int |
getDefaultClusterMaxHops()
maximum number of hops cluster topology is propagated
|
static long |
getDefaultClusterMaxRetryInterval()
Maximum value for retry-interval
|
static int |
getDefaultClusterNotificationAttempts()
how many times this cluster connection will notify the cluster of its existence right after joining the cluster
|
static long |
getDefaultClusterNotificationInterval()
how often the cluster connection will notify the cluster of its existence right after joining the cluster
|
static String |
getDefaultClusterPassword()
Cluster password.
|
static int |
getDefaultClusterReconnectAttempts()
How many attempts should be made to reconnect after failure
|
static long |
getDefaultClusterRetryInterval()
period (in ms) between successive retries
|
static double |
getDefaultClusterRetryIntervalMultiplier()
multiplier to apply to the retry-interval
|
static String |
getDefaultClusterUser()
Cluster username.
|
static long |
getDefaultConnectionTtl()
how long to keep a connection alive in the absence of any data arriving from the client.
|
static long |
getDefaultConnectionTtlOverride()
if set, this will override how long (in ms) to keep a connection alive without receiving a ping.
|
static long |
getDefaultFailbackDelay()
delay to wait before fail-back occurs on (live's) restart
|
static long |
getDefaultFileDeployerScanPeriod() |
static int |
getDefaultIdCacheSize()
the size of the cache for pre-creating message ID's
|
static String |
getDefaultJmxDomain()
the JMX domain used to registered HornetQ MBeans in the MBeanServer
|
static int |
getDefaultJournalBufferSizeAio() |
static int |
getDefaultJournalBufferSizeNio() |
static int |
getDefaultJournalBufferTimeoutAio() |
static int |
getDefaultJournalBufferTimeoutNio() |
static int |
getDefaultJournalCompactMinFiles()
The minimal number of data files before we can start compacting
|
static int |
getDefaultJournalCompactPercentage()
The percentage of live data on which we consider compacting the journal
|
static String |
getDefaultJournalDir()
the directory to store the journal files in
|
static int |
getDefaultJournalFileSize()
the size (in bytes) of each journal file
|
static int |
getDefaultJournalMaxIoAio() |
static int |
getDefaultJournalMaxIoNio() |
static int |
getDefaultJournalMinFiles()
how many journal files to pre-create
|
static int |
getDefaultJournalPerfBlastPages()
XXX Only meant to be used by project developers
|
static String |
getDefaultLargeMessagesDir()
the directory to store large messages
|
static SimpleString |
getDefaultManagementAddress()
the name of the management address to send management messages to.
|
static SimpleString |
getDefaultManagementNotificationAddress()
the name of the address that consumers bind to receive management notifications
|
static int |
getDefaultMaxConcurrentPageIo()
The max number of concurrent reads allowed on paging
|
static long |
getDefaultMaxRetryInterval()
Limit to the retry-interval growth (due to retry-interval-multiplier)
|
static int |
getDefaultMaxSavedReplicatedJournalsSize()
This specifies how many times a replicated backup server can restart after moving its files on start.
|
static long |
getDefaultMemoryMeasureInterval()
frequency to sample JVM memory in ms (or -1 to disable memory sampling)
|
static int |
getDefaultMemoryWarningThreshold()
Percentage of available memory which will trigger a warning log
|
static int |
getDefaultMessageCounterMaxDayHistory()
how many days to keep message counter history
|
static long |
getDefaultMessageCounterSamplePeriod()
the sample period (in ms) to use for message counters
|
static long |
getDefaultMessageExpiryScanPeriod()
how often (in ms) to scan for expired messages
|
static int |
getDefaultMessageExpiryThreadPriority()
the priority of the thread expiring messages
|
static String |
getDefaultPagingDir()
the directory to store paged messages in
|
static double |
getDefaultRetryIntervalMultiplier()
multiplier to apply to successive retry intervals
|
static int |
getDefaultScheduledThreadPoolMaxSize()
Maximum number of threads to use for the scheduled thread pool
|
static long |
getDefaultSecurityInvalidationInterval()
how long (in ms) to wait before invalidating the security cache
|
static long |
getDefaultServerDumpInterval()
Interval to log server specific information (e.g.
|
static int |
getDefaultThreadPoolMaxSize()
Maximum number of threads to use for the thread pool.
|
static long |
getDefaultTransactionTimeout()
how long (in ms) before a transaction can be removed from the resource manager after create time
|
static long |
getDefaultTransactionTimeoutScanPeriod()
how often (in ms) to scan for timeout transactions
|
static String |
getPropMaskPassword() |
static String |
getPropPasswordCodec() |
static boolean |
isDefaultAllowAutoFailback()
Whether a server will automatically stop when a another places a request to take over its place.
|
static boolean |
isDefaultAsyncConnectionExecutionEnabled()
Should incoming packets on the server be handed off to a thread from the thread pool for processing or should they be handled on the remoting thread?
|
static boolean |
isDefaultBackup()
whether this server is a backup server
|
static boolean |
isDefaultBridgeDuplicateDetection()
should duplicate detection headers be inserted in forwarded messages?
|
static boolean |
isDefaultCheckForLiveServer()
Whether to check the cluster for a (live) server using our own server ID when starting up.
|
static boolean |
isDefaultClusterDuplicateDetection()
should duplicate detection headers be inserted in forwarded messages?
|
static boolean |
isDefaultClusterForwardWhenNoConsumers()
should messages be load balanced if there are no matching consumers on target?
|
static boolean |
isDefaultCreateBindingsDir()
true means that the server will create the bindings directory on start up
|
static boolean |
isDefaultCreateJournalDir()
true means that the journal directory will be created
|
static boolean |
isDefaultDivertExclusive()
whether this is an exclusive divert
|
static boolean |
isDefaultFailoverOnServerShutdown()
Will this backup server come live on a normal server shutdown
|
static boolean |
isDefaultFileDeploymentEnabled()
true means that the server will load configuration from the configuration files
|
static boolean |
isDefaultJmxManagementEnabled()
true means that the management API is available via JMX
|
static boolean |
isDefaultJournalLogWriteRate()
Whether to log messages about the journal write rate
|
static boolean |
isDefaultJournalSyncNonTransactional()
if true wait for non transaction data to be synced to the journal before returning response to client.
|
static boolean |
isDefaultJournalSyncTransactional()
if true wait for transaction data to be synchronized to the journal before returning response to client
|
static boolean |
isDefaultMaskPassword()
This option controls whether passwords in server configuration need be masked.
|
static boolean |
isDefaultMessageCounterEnabled()
true means that message counters are enabled
|
static boolean |
isDefaultPersistDeliveryCountBeforeDelivery()
True means that the delivery count is persisted before delivery.
|
static boolean |
isDefaultPersistenceEnabled()
true means that the server will use the file based journal for persistence.
|
static boolean |
isDefaultPersistIdCache()
true means that ID's are persisted to the journal
|
static boolean |
isDefaultResolveProtocols()
If true then the HornetQ Server will make use of any Protocol Managers that are in available on the classpath.
|
static boolean |
isDefaultRunSyncSpeedTest()
XXX Only meant to be used by project developers
|
static boolean |
isDefaultSecurityEnabled()
true means that security is enabled
|
static boolean |
isDefaultSharedStore()
'shared-store' applies to live and backup pairs, and it indicates if the live/backup pair share storage or if the data is replicated among them.
|
static boolean |
isDefaultWildcardRoutingEnabled()
true means that the server supports wild card routing
|
public static long getDefaultClientFailureCheckPeriod()
public static long getDefaultFileDeployerScanPeriod()
public static int getDefaultJournalMaxIoAio()
public static int getDefaultJournalBufferTimeoutAio()
public static int getDefaultJournalBufferSizeAio()
public static int getDefaultJournalMaxIoNio()
public static int getDefaultJournalBufferTimeoutNio()
public static int getDefaultJournalBufferSizeNio()
public static String getPropMaskPassword()
public static String getPropPasswordCodec()
public static boolean isDefaultResolveProtocols()
public static boolean isDefaultCheckForLiveServer()
public static boolean isDefaultFileDeploymentEnabled()
public static boolean isDefaultPersistenceEnabled()
public static int getDefaultScheduledThreadPoolMaxSize()
public static int getDefaultThreadPoolMaxSize()
public static boolean isDefaultSecurityEnabled()
public static long getDefaultSecurityInvalidationInterval()
public static boolean isDefaultWildcardRoutingEnabled()
public static SimpleString getDefaultManagementAddress()
public static SimpleString getDefaultManagementNotificationAddress()
public static String getDefaultClusterUser()
public static String getDefaultClusterPassword()
public static int getDefaultMaxSavedReplicatedJournalsSize()
public static boolean isDefaultMaskPassword()
public static boolean isDefaultJmxManagementEnabled()
public static String getDefaultJmxDomain()
public static boolean isDefaultMessageCounterEnabled()
public static long getDefaultMessageCounterSamplePeriod()
public static int getDefaultMessageCounterMaxDayHistory()
public static long getDefaultConnectionTtlOverride()
public static boolean isDefaultAsyncConnectionExecutionEnabled()
public static long getDefaultTransactionTimeout()
public static long getDefaultTransactionTimeoutScanPeriod()
public static long getDefaultMessageExpiryScanPeriod()
public static int getDefaultMessageExpiryThreadPriority()
public static int getDefaultIdCacheSize()
public static boolean isDefaultPersistIdCache()
public static boolean isDefaultBackup()
public static boolean isDefaultAllowAutoFailback()
public static long getDefaultFailbackDelay()
public static boolean isDefaultFailoverOnServerShutdown()
public static boolean isDefaultSharedStore()
public static boolean isDefaultPersistDeliveryCountBeforeDelivery()
public static String getDefaultPagingDir()
public static String getDefaultBindingsDirectory()
public static boolean isDefaultCreateBindingsDir()
public static int getDefaultMaxConcurrentPageIo()
public static String getDefaultJournalDir()
public static boolean isDefaultCreateJournalDir()
public static boolean isDefaultJournalSyncTransactional()
public static boolean isDefaultJournalSyncNonTransactional()
public static boolean isDefaultJournalLogWriteRate()
public static int getDefaultJournalFileSize()
public static int getDefaultJournalMinFiles()
public static int getDefaultJournalCompactPercentage()
public static int getDefaultJournalCompactMinFiles()
public static int getDefaultJournalPerfBlastPages()
public static boolean isDefaultRunSyncSpeedTest()
public static long getDefaultServerDumpInterval()
public static int getDefaultMemoryWarningThreshold()
public static long getDefaultMemoryMeasureInterval()
public static String getDefaultLargeMessagesDir()
public static long getDefaultBroadcastPeriod()
public static int getDefaultBroadcastRefreshTimeout()
public static long getDefaultConnectionTtl()
public static double getDefaultRetryIntervalMultiplier()
public static long getDefaultMaxRetryInterval()
public static int getDefaultBridgeReconnectAttempts()
public static boolean isDefaultBridgeDuplicateDetection()
public static int getDefaultBridgeConnectSameNode()
public static long getDefaultClusterFailureCheckPeriod()
public static long getDefaultClusterConnectionTtl()
public static long getDefaultClusterRetryInterval()
public static double getDefaultClusterRetryIntervalMultiplier()
public static long getDefaultClusterMaxRetryInterval()
public static int getDefaultClusterReconnectAttempts()
public static boolean isDefaultClusterDuplicateDetection()
public static boolean isDefaultClusterForwardWhenNoConsumers()
public static int getDefaultClusterMaxHops()
public static long getDefaultClusterNotificationInterval()
public static int getDefaultClusterNotificationAttempts()
public static boolean isDefaultDivertExclusive()
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.