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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CoreHttpPath
pathForBucket
(String name) static CoreHttpPath
pathForDesignDocument
(String bucketName, String designDocument) static CoreHttpPath
pathForGroup
(String name) static CoreHttpPath
pathForSearchIndex
(String indexName) static CoreHttpPath
pathForUser
(String domain, String name) static CoreHttpPath
pathForView
(String bucketName, String designDocument, String viewName) static void
waitUntilBucketDropped
(Core core, String name) static void
waitUntilBucketPresent
(Core core, String name) static void
waitUntilCollectionDropped
(Core core, String bucketName, String scopeName, String collectionName) static void
waitUntilCollectionPresent
(Core core, String bucketName, String scopeName, String collectionName) static void
waitUntilDesignDocumentDropped
(Core core, String bucketName, String designDocument) static void
waitUntilDesignDocumentPresent
(Core core, String bucketName, String designDocument) static void
waitUntilGroupDropped
(Core core, String name) static void
waitUntilGroupPresent
(Core core, String name) static void
waitUntilScopeDropped
(Core core, String bucketName, String scopeName) static void
waitUntilScopePresent
(Core core, String bucketName, String scopeName) static void
waitUntilSearchIndexDropped
(Core core, String indexName) static void
waitUntilSearchIndexPresent
(Core core, String indexName) static void
waitUntilUserDropped
(Core core, String domain, String name) static void
waitUntilUserPresent
(Core core, String domain, String name) static void
waitUntilViewDropped
(Core core, String bucketName, String designDocument, String viewName) static void
waitUntilViewPresent
(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
-