Interface Client

All Known Implementing Classes:
ClientImpl

public interface Client
X DevAPI class encapsulating a Session pooling functionality.

The Client object is obtained via ClientFactory.getClient(String, java.util.Properties) or ClientFactory.getClient(String, String) methods.

  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  Client.ClientProperty  
  • Method Summary

    Modifier and Type Method Description
    void close()
    Close Client.
    Session getSession()
    Get Session from pool or the new one.
  • Method Details

    • getSession

      Session getSession()
      Get Session from pool or the new one.
      Returns:
      Session
    • close

      void close()
      Close Client. Closes all Sessions it has created, and destroys the managed pool.

      Calling the method close on a Client object that is already closed is a no-op.