Class FilterClient

    • Field Detail

      • in

        protected final Client in
    • Constructor Detail

      • FilterClient

        public FilterClient​(Client in)
        Creates a new FilterClient
        in - the client to delegate to
        See Also:
      • FilterClient

        protected FilterClient​(Settings settings,
                               ThreadPool threadPool,
                               Client in)
        A Constructor that allows to pass settings and threadpool separately. This is useful if the client is a proxy and not yet fully constructed ie. both dependencies are not available yet.
    • Method Detail

      • close

        public void close()
      • getRemoteClusterClient

        public Client getRemoteClusterClient​(java.lang.String clusterAlias)
        Description copied from interface: Client
        Returns a client to a remote cluster with the given cluster alias.