Class BootstrapAdapter

java.lang.Object
com.couchbase.client.core.endpoint.BootstrapAdapter

public class BootstrapAdapter
extends Object
A wrapper for the IO Bootstrap class. This adapter is needed in order to properly mock the underlying Bootstrap class, since it is a final class and can't be tested properly otherwise.
  • Constructor Details

    • BootstrapAdapter

      public BootstrapAdapter​(Bootstrap bootstrap)
      Create a new BootstrapAdapter.
      Parameters:
      bootstrap - the wrapped bootstrap.
  • Method Details