DurabilityLevel
in package
Protobuf type <code>couchbase.kv.v1.DurabilityLevel</code>
Table of Contents
- DURABILITY_LEVEL_MAJORITY = 0
- Generated from protobuf enum <code>DURABILITY_LEVEL_MAJORITY = 0;</code>
- DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE = 1
- Generated from protobuf enum <code>DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE = 1;</code>
- DURABILITY_LEVEL_PERSIST_TO_MAJORITY = 2
- Generated from protobuf enum <code>DURABILITY_LEVEL_PERSIST_TO_MAJORITY = 2;</code>
- $valueToName : mixed
- name() : mixed
- value() : mixed
Constants
DURABILITY_LEVEL_MAJORITY
Generated from protobuf enum <code>DURABILITY_LEVEL_MAJORITY = 0;</code>
public
mixed
DURABILITY_LEVEL_MAJORITY
= 0
DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE
Generated from protobuf enum <code>DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE = 1;</code>
public
mixed
DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE
= 1
DURABILITY_LEVEL_PERSIST_TO_MAJORITY
Generated from protobuf enum <code>DURABILITY_LEVEL_PERSIST_TO_MAJORITY = 2;</code>
public
mixed
DURABILITY_LEVEL_PERSIST_TO_MAJORITY
= 2
Properties
$valueToName
private
static mixed
$valueToName
= [self::DURABILITY_LEVEL_MAJORITY => 'DURABILITY_LEVEL_MAJORITY', self::DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE => 'DURABILITY_LEVEL_MAJORITY_AND_PERSIST_TO_ACTIVE', self::DURABILITY_LEVEL_PERSIST_TO_MAJORITY => 'DURABILITY_LEVEL_PERSIST_TO_MAJORITY']
Methods
name()
public
static name(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —value()
public
static value(mixed $name) : mixed
Parameters
- $name : mixed