Package com.couchbase.client.core.util
Class ConsistencyUtil
- java.lang.Object
-
- com.couchbase.client.core.util.ConsistencyUtil
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLUSTER_VERSION_MB_50101
-
Constructor Summary
Constructors Constructor Description ConsistencyUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
CLUSTER_VERSION_MB_50101
public static final String CLUSTER_VERSION_MB_50101
- See Also:
- Constant Field Values
-
-
Method Detail
-
pathForUser
public static CoreHttpPath pathForUser(String domain, String name)
-
pathForGroup
public static CoreHttpPath pathForGroup(String name)
-
pathForBucket
public static CoreHttpPath pathForBucket(String name)
-
pathForView
public static CoreHttpPath pathForView(String bucketName, String designDocument, String viewName)
-
pathForDesignDocument
public static CoreHttpPath pathForDesignDocument(String bucketName, String designDocument)
-
pathForSearchIndex
public static CoreHttpPath pathForSearchIndex(String indexName)
-
waitUntilUserPresent
public static void waitUntilUserPresent(Core core, String domain, String name)
-
waitUntilUserDropped
public static void waitUntilUserDropped(Core core, String domain, String name)
-
waitUntilDesignDocumentPresent
public static void waitUntilDesignDocumentPresent(Core core, String bucketName, String designDocument)
-
waitUntilDesignDocumentDropped
public static void waitUntilDesignDocumentDropped(Core core, String bucketName, String designDocument)
-
waitUntilViewPresent
public static void waitUntilViewPresent(Core core, String bucketName, String designDocument, String viewName)
-
waitUntilViewDropped
public static void waitUntilViewDropped(Core core, String bucketName, String designDocument, String viewName)
-
waitUntilScopePresent
public static void waitUntilScopePresent(Core core, String bucketName, String scopeName)
-
waitUntilScopeDropped
public static void waitUntilScopeDropped(Core core, String bucketName, String scopeName)
-
waitUntilCollectionPresent
public static void waitUntilCollectionPresent(Core core, String bucketName, String scopeName, String collectionName)
-
waitUntilCollectionDropped
public static void waitUntilCollectionDropped(Core core, String bucketName, String scopeName, String collectionName)
-
waitUntilSearchIndexPresent
public static void waitUntilSearchIndexPresent(Core core, String indexName)
-
-