Class ConfigurationPropertiesOverrides


  • public class ConfigurationPropertiesOverrides
    extends java.lang.Object

    Provides a mechanism to override selected configuration properties using explicit setters for each configuration setting.

    Author:
    Olaf Bergner
    • Field Detail

      • OPERATION_READ_TIMEOUT

        public static final java.lang.String OPERATION_READ_TIMEOUT
        See Also:
        Constant Field Values
      • OPERATION_WRITE_TIMEOUT

        public static final java.lang.String OPERATION_WRITE_TIMEOUT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurationPropertiesOverrides

        public ConfigurationPropertiesOverrides()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns:
        See Also:
        Hashtable.isEmpty()
      • setTransportFactory

        public void setTransportFactory​(java.lang.String TransportFactory)
        Parameters:
        TransportFactory -
      • setServerList

        public void setServerList​(java.util.Collection<java.net.InetSocketAddress> serverList)
        Parameters:
        serverList -
      • setMarshaller

        public void setMarshaller​(java.lang.String marshaller)
        Parameters:
        marshaller -
      • setAsyncExecutorFactory

        public void setAsyncExecutorFactory​(java.lang.String asyncExecutorFactory)
        Parameters:
        asyncExecutorFactory -
      • setTcpNoDelay

        public void setTcpNoDelay​(boolean tcpNoDelay)
        Parameters:
        tcpNoDelay -
      • setTcpKeepAlive

        public void setTcpKeepAlive​(boolean tcpKeepAlive)
      • setRequestBalancingStrategy

        public void setRequestBalancingStrategy​(java.lang.String requestBalancingStrategy)
        Parameters:
        requestBalancingStrategy -
      • setKeySizeEstimate

        public void setKeySizeEstimate​(int keySizeEstimate)
        Parameters:
        keySizeEstimate -
      • setValueSizeEstimate

        public void setValueSizeEstimate​(int valueSizeEstimate)
        Parameters:
        valueSizeEstimate -
      • setForceReturnValues

        public void setForceReturnValues​(boolean forceReturnValues)
        Parameters:
        forceReturnValues -
      • setReadTimeout

        public void setReadTimeout​(long readTimeout)
      • setWriteTimeout

        public void setWriteTimeout​(long writeTimeout)
      • setNearCacheMode

        public void setNearCacheMode​(java.lang.String mode)
      • setNearCacheMaxEntries

        public void setNearCacheMaxEntries​(int maxEntries)
      • setNearCacheNamePattern

        public void setNearCacheNamePattern​(java.lang.String pattern)
      • override

        public java.util.Properties override​(java.util.Properties configurationPropertiesToOverride)
        Parameters:
        configurationPropertiesToOverride -
        Returns: