Interface Environment

All Superinterfaces:
AutoCloseable

public interface Environment extends AutoCloseable
The Environment is the main entry point to a node or a cluster of nodes.

The connectionBuilder() allows creating Connection instances. An application is expected to maintain a single Environment instance and to close with it exits.

Environment instances are expected to be thread-safe.

See Also:
  • Method Details

    • connectionBuilder

      ConnectionBuilder connectionBuilder()
      Create a builder to configure and create a Connection.
      Returns:
    • close

      void close()
      Close the environment and its resources.
      Specified by:
      close in interface AutoCloseable