Class OwnedSupplier<T>

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

@Deprecated @Internal @UsedBy(SPRING_DATA_COUCHBASE) public class OwnedSupplier<T> extends Object implements Supplier<T>
Deprecated.
For internal Couchbase code, please use OwnedOrExternal.owned(Object) instead.
A special supplier which allows the SDK to distinguish passed in suppliers vs. owned ones.

DO NOT USE THIS CLASS DIRECTLY!

  • Constructor Details

    • OwnedSupplier

      @Internal public OwnedSupplier(T value)
      Deprecated.
  • Method Details

    • get

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

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