public enum BucketServiceMapping extends Enum<BucketServiceMapping>
Defines the relationship between a bucket and a service.
Enum Constant and Description |
---|
ONE_BY_ONE
The service can only handle one bucket at a time.
|
ONE_FOR_ALL
The service is able to handle all buckets at the same time.
|
Modifier and Type | Method and Description |
---|---|
static BucketServiceMapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketServiceMapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketServiceMapping ONE_FOR_ALL
public static final BucketServiceMapping ONE_BY_ONE
public static BucketServiceMapping[] values()
for (BucketServiceMapping c : BucketServiceMapping.values()) System.out.println(c);
public static BucketServiceMapping valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Couchbase, Inc.. All rights reserved.