Package io.etcd.jetcd

Interface Client

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    ClientImpl

    public interface Client
    extends java.lang.AutoCloseable
    Etcd Client.

    The implementation may throw unchecked ConnectException or AuthFailedException on initialization (or when invoking *Client methods if configured to initialize lazily).

    • Method Detail

      • getAuthClient

        Auth getAuthClient()
        Returns the Auth client.
      • getKVClient

        KV getKVClient()
        Returns the KV client.
      • getClusterClient

        Cluster getClusterClient()
        Returns the Cluster client.
      • getLeaseClient

        Lease getLeaseClient()
        Returns the Lease client.
      • getWatchClient

        Watch getWatchClient()
        Returns the Watch client.
      • getLockClient

        Lock getLockClient()
        Returns the Lock client.
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable