Class ExternalSupplier<T>

java.lang.Object
com.couchbase.client.core.env.ExternalSupplier<T>
All Implemented Interfaces:
Supplier<T>

@Deprecated public class ExternalSupplier<T> extends Object implements Supplier<T>
Deprecated.
Please use Supplier instead. In internal Couchbase code, please use OwnedOrExternal.external(Object) instead.
This supplier signals the entity passed in is not owned.

This class can be used with care, but usually it is better to just use the java 8 supplier interface directly or implement your own.

  • Constructor Details Link icon

    • ExternalSupplier Link icon

      public ExternalSupplier(T value)
      Deprecated.
  • Method Details Link icon

    • get Link icon

      public T get()
      Deprecated.
      Specified by:
      get in interface Supplier<T>
    • toString Link icon

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object