public Couchbase environment(final java.util.function.Supplier<CouchbaseEnvironment> env) {
    return environment(c -> env.get());
  }
public Couchbase environment(final java.util.function.Supplier<CouchbaseEnvironment> env) {
    return environment(c -> env.get());
  }
public Couchbase environment ( final java . util . function . Supplier < CouchbaseEnvironment > env ) { return environment ( c -> env . get ( ) ) ; }
Set a shared {@link CouchbaseEnvironment}. The environment will shutdown automatically.

@param env Environment provider.
@return This module.
Set a shared { @link CouchbaseEnvironment } . The environment will shutdown automatically .