Class ConfigurationProperties


  • public class ConfigurationProperties
    extends Object
    Encapsulate all config properties here
    Version:
    4.1
    Author:
    Manik Surtani
    • Constructor Detail

      • ConfigurationProperties

        public ConfigurationProperties()
      • ConfigurationProperties

        public ConfigurationProperties​(String serverList)
      • ConfigurationProperties

        public ConfigurationProperties​(Properties props)
    • Method Detail

      • setURI

        public void setURI​(String uri)
      • getURI

        public String getURI()
      • setServerList

        public void setServerList​(String serverList)
      • getMarshaller

        public String getMarshaller()
      • setMarshaller

        public void setMarshaller​(String marshaller)
      • getContextInitializers

        public String getContextInitializers()
      • setContextInitializers

        public void setContextInitializers​(String contextInitializers)
      • getAsyncExecutorFactory

        public String getAsyncExecutorFactory()
      • getDefaultExecutorFactoryPoolSize

        public int getDefaultExecutorFactoryPoolSize()
      • setDefaultExecutorFactoryPoolSize

        public void setDefaultExecutorFactoryPoolSize​(int poolSize)
      • getDefaultExecutorFactoryThreadNamePrefix

        public String getDefaultExecutorFactoryThreadNamePrefix()
      • setDefaultExecutorFactoryThreadNamePrefix

        public void setDefaultExecutorFactoryThreadNamePrefix​(String threadNamePrefix)
      • getDefaultExecutorFactoryThreadNameSuffix

        public String getDefaultExecutorFactoryThreadNameSuffix()
      • setDefaultExecutorFactoryThreadNameSuffix

        public void setDefaultExecutorFactoryThreadNameSuffix​(String threadNameSuffix)
      • setTransportFactory

        public void setTransportFactory​(String transportFactoryClass)
      • getTransportFactory

        public String getTransportFactory()
      • getTcpNoDelay

        public boolean getTcpNoDelay()
      • setTcpNoDelay

        public void setTcpNoDelay​(boolean tcpNoDelay)
      • getTcpKeepAlive

        public boolean getTcpKeepAlive()
      • setTcpKeepAlive

        public void setTcpKeepAlive​(boolean tcpKeepAlive)
      • getRequestBalancingStrategy

        public String getRequestBalancingStrategy()
      • getKeySizeEstimate

        @Deprecated
        public int getKeySizeEstimate()
        Deprecated.
        Since 12.0, does nothing and will be removed in 15.0
      • setKeySizeEstimate

        @Deprecated
        public void setKeySizeEstimate​(int keySizeEstimate)
        Deprecated.
        Since 12.0, does nothing and will be removed in 15.0
      • getValueSizeEstimate

        @Deprecated
        public int getValueSizeEstimate()
        Deprecated.
        Since 12.0, does nothing and will be removed in 15.0
      • setValueSizeEstimate

        @Deprecated
        public void setValueSizeEstimate​(int valueSizeEstimate)
        Deprecated.
        Since 12.0, does nothing and will be removed in 15.0
      • getForceReturnValues

        public boolean getForceReturnValues()
      • setForceReturnValues

        public void setForceReturnValues​(boolean forceReturnValues)
      • getProperties

        public Properties getProperties()
      • getSoTimeout

        public int getSoTimeout()
      • setSocketTimeout

        public void setSocketTimeout​(int socketTimeout)
      • getProtocolVersion

        public String getProtocolVersion()
      • setProtocolVersion

        public void setProtocolVersion​(String protocolVersion)
      • getClientIntelligence

        public String getClientIntelligence()
      • setClientIntelligence

        public void setClientIntelligence​(String clientIntelligence)
      • getConnectTimeout

        public int getConnectTimeout()
      • setConnectTimeout

        public void setConnectTimeout​(int connectTimeout)
      • getUseSSL

        public boolean getUseSSL()
      • setUseSSL

        public void setUseSSL​(boolean useSSL)
      • getKeyStoreFileName

        public String getKeyStoreFileName()
      • setKeyStoreFileName

        public void setKeyStoreFileName​(String keyStoreFileName)
      • getKeyStoreType

        public String getKeyStoreType()
      • setKeyStoreType

        public void setKeyStoreType​(String keyStoreType)
      • getKeyStorePassword

        public String getKeyStorePassword()
      • setKeyStorePassword

        public void setKeyStorePassword​(String keyStorePassword)
      • setKeyStoreCertificatePassword

        public void setKeyStoreCertificatePassword​(String keyStoreCertificatePassword)
      • getKeyAlias

        public String getKeyAlias()
      • setKeyAlias

        public void setKeyAlias​(String keyAlias)
      • getTrustStoreFileName

        public String getTrustStoreFileName()
      • setTrustStoreFileName

        public void setTrustStoreFileName​(String trustStoreFileName)
      • getTrustStoreType

        public String getTrustStoreType()
      • setTrustStoreType

        public void setTrustStoreType​(String trustStoreType)
      • getTrustStorePassword

        public String getTrustStorePassword()
      • setTrustStorePassword

        public void setTrustStorePassword​(String trustStorePassword)
      • getTrustStorePath

        @Deprecated
        public String getTrustStorePath()
        Deprecated.
        Since 12.0 and will be removed in 15.0
      • setTrustStorePath

        @Deprecated
        public void setTrustStorePath​(String trustStorePath)
        Deprecated.
        Since 12.0 and will be removed in 15.0
      • getSSLProtocol

        public String getSSLProtocol()
      • setSSLProtocol

        public void setSSLProtocol​(String sslProtocol)
      • getSniHostName

        public String getSniHostName()
      • setSniHostName

        public void setSniHostName​(String sniHostName)
      • getUseAuth

        public boolean getUseAuth()
      • setUseAuth

        public void setUseAuth​(boolean useAuth)
      • getSaslMechanism

        public String getSaslMechanism()
      • setSaslMechanism

        public void setSaslMechanism​(String saslMechanism)
      • getAuthUsername

        public String getAuthUsername()
      • setAuthUsername

        public void setAuthUsername​(String authUsername)
      • getAuthPassword

        public String getAuthPassword()
      • setAuthPassword

        public void setAuthPassword​(String authPassword)
      • getAuthToken

        public String getAuthToken()
      • setAuthToken

        public void setAuthToken​(String authToken)
      • getAuthRealm

        public String getAuthRealm()
      • setAuthRealm

        public void setAuthRealm​(String authRealm)
      • setAuthServerName

        public void setAuthServerName​(String authServerName)
      • getMaxRetries

        public int getMaxRetries()
      • setMaxRetries

        public void setMaxRetries​(int maxRetries)
      • getBatchSize

        public int getBatchSize()
      • setBatchSize

        public void setBatchSize​(int batchSize)
      • setStatistics

        public void setStatistics​(boolean statistics)
      • isStatistics

        public boolean isStatistics()
      • setJmx

        public void setJmx​(boolean jmx)
      • isJmx

        public boolean isJmx()
      • setJmxName

        public void setJmxName​(String jmxName)
      • getJmxName

        public void getJmxName()
      • setJmxDomain

        public void setJmxDomain​(String jmxDomain)
      • getJmxDomain

        public void getJmxDomain()
      • getTransactionManagerLookup

        public String getTransactionManagerLookup()
      • setNearCacheMode

        public void setNearCacheMode​(String nearCacheMode)
      • getNearCacheMaxEntries

        public int getNearCacheMaxEntries()
      • setNearCacheMaxEntries

        public void setNearCacheMaxEntries​(int nearCacheMaxEntries)
      • getNearCacheNamePattern

        @Deprecated
        public String getNearCacheNamePattern()
        Deprecated.
      • setNearCacheNamePattern

        @Deprecated
        public void setNearCacheNamePattern​(String nearCacheNamePattern)
        Deprecated.
      • getConnectionPoolMaxActive

        public int getConnectionPoolMaxActive()
      • setConnectionPoolMaxActive

        public void setConnectionPoolMaxActive​(int connectionPoolMaxActive)
      • getConnectionPoolMaxWait

        public long getConnectionPoolMaxWait()
      • setConnectionPoolMaxWait

        public void setConnectionPoolMaxWait​(long connectionPoolMaxWait)
      • gtConnectionPoolMinIdle

        public int gtConnectionPoolMinIdle()
      • setConnectionPoolMinIdle

        public void setConnectionPoolMinIdle​(int connectionPoolMinIdle)
      • getConnectionPoolMaxPendingRequests

        public int getConnectionPoolMaxPendingRequests()
      • setConnectionPoolMaxPendingRequests

        public void setConnectionPoolMaxPendingRequests​(int connectionPoolMaxPendingRequests)
      • setConnectionPoolMinEvictableIdleTime

        public long setConnectionPoolMinEvictableIdleTime()
      • setConnectionPoolMinEvictableIdleTime

        public void setConnectionPoolMinEvictableIdleTime​(long connectionPoolMinEvictableIdleTime)
      • getConnectionPoolExhaustedAction

        public ExhaustedAction getConnectionPoolExhaustedAction()
      • setConnectionPoolExhaustedAction

        public void setConnectionPoolExhaustedAction​(String connectionPoolExhaustedAction)
      • isTracingPropagationEnabled

        public boolean isTracingPropagationEnabled()
      • setTracingPropagationEnabled

        public void setTracingPropagationEnabled​(boolean tracingPropagationEnabled)
      • isVersionPre12

        public static boolean isVersionPre12​(Configuration cfg)
        Is version previous to, and not including, 1.2?
      • getServerList

        public String getServerList()
      • setJavaSerialAllowList

        public void setJavaSerialAllowList​(String javaSerialAllowlist)
      • setTransactionMode

        public void setTransactionMode​(String transactionMode)
      • getTransactionMode

        public String getTransactionMode()
      • setTransactionTimeout

        public void setTransactionTimeout​(int transactionTimeout)
      • getTransactionTimeout

        public int getTransactionTimeout()