public class AsyncScope extends Object
If no scope is explicitly provided, the default scope is used.
Modifier and Type | Method and Description |
---|---|
String |
bucketName()
The name of the bucket this scope is attached to.
|
AsyncCollection |
collection(String collectionName)
Opens a collection for this scope with an explicit name.
|
Core |
core()
Provides access to the underlying
Core . |
ClusterEnvironment |
environment()
Provides access to the configured
ClusterEnvironment for this scope. |
String |
name()
The name of the scope.
|
public String name()
public String bucketName()
@Stability.Volatile public Core core()
Core
.
This is advanced API, use with care!
public ClusterEnvironment environment()
ClusterEnvironment
for this scope.@Stability.Volatile public AsyncCollection collection(String collectionName)
collectionName
- the collection name.Copyright © 2020 Couchbase, Inc.. All rights reserved.