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 String
CLUSTER_VERSION_MB_50101
-
Constructor Summary
Constructors Constructor Description ConsistencyUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 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)
-
-