Package com.couchbase.client.core.util
Class ConsistencyUtil
java.lang.Object
com.couchbase.client.core.util.ConsistencyUtil
Helper routines for tests to wait for all nodes to have a consistent view of a resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CoreHttpPathpathForBucket(String name) static CoreHttpPathpathForDesignDocument(String bucketName, String designDocument) static CoreHttpPathpathForGroup(String name) static CoreHttpPathpathForSearchIndex(String indexName) static CoreHttpPathpathForUser(String domain, String name) static CoreHttpPathpathForView(String bucketName, String designDocument, String viewName) static voidwaitUntilBucketDropped(Core core, String name) static voidwaitUntilBucketPresent(Core core, String name) static voidwaitUntilCollectionDropped(Core core, String bucketName, String scopeName, String collectionName) static voidwaitUntilCollectionPresent(Core core, String bucketName, String scopeName, String collectionName) static voidwaitUntilDesignDocumentDropped(Core core, String bucketName, String designDocument) static voidwaitUntilDesignDocumentPresent(Core core, String bucketName, String designDocument) static voidwaitUntilGroupDropped(Core core, String name) static voidwaitUntilGroupPresent(Core core, String name) static voidwaitUntilScopeDropped(Core core, String bucketName, String scopeName) static voidwaitUntilScopePresent(Core core, String bucketName, String scopeName) static voidwaitUntilSearchIndexDropped(Core core, String indexName) static voidwaitUntilSearchIndexPresent(Core core, String indexName) static voidwaitUntilUserDropped(Core core, String domain, String name) static voidwaitUntilUserPresent(Core core, String domain, String name) static voidwaitUntilViewDropped(Core core, String bucketName, String designDocument, String viewName) static voidwaitUntilViewPresent(Core core, String bucketName, String designDocument, String viewName)
-
Field Details
-
CLUSTER_VERSION_MB_50101
- See Also:
-
-
Constructor Details
-
ConsistencyUtil
public ConsistencyUtil()
-
-
Method Details
-
pathForUser
-
pathForGroup
-
pathForBucket
-
pathForView
-
pathForDesignDocument
-
pathForSearchIndex
-
waitUntilUserPresent
-
waitUntilUserDropped
-
waitUntilGroupPresent
-
waitUntilGroupDropped
-
waitUntilBucketPresent
-
waitUntilBucketDropped
-
waitUntilDesignDocumentPresent
-
waitUntilDesignDocumentDropped
-
waitUntilViewPresent
-
waitUntilViewDropped
-
waitUntilScopePresent
-
waitUntilScopeDropped
-
waitUntilCollectionPresent
-
waitUntilCollectionDropped
-
waitUntilSearchIndexPresent
-
waitUntilSearchIndexDropped
-