Class SniProxySocketFactory

    • Constructor Detail

      • SniProxySocketFactory

        public SniProxySocketFactory()
      • SniProxySocketFactory

        public SniProxySocketFactory​(String hostname,
                                     int port)
    • Method Detail

      • initialize

        public void initialize​(Cache cache,
                               Properties properties)
        Description copied from interface: Declarable
        Initializes a user-defined object, owned by the given cache, using the given properties. Note that any uncaught exception thrown by this method will cause the Cache initialization to fail. Note that if this method is implemented then the deprecated init method should not be implemented. The product will call both methods assuming that only one will have a non-default implementation.

        Note that this method is only called when a Cache is created using gfsh cluster configuration or a declarative XML file. It will not be called when a Cache is created without XML using the Java APIs directly.

        Specified by:
        initialize in interface Declarable
        Parameters:
        cache - the cache that owns this declarable
        properties - Contains the parameters declared in the declarative xml file.
      • getHostname

        public String getHostname()
      • getPort

        public int getPort()