LegacyDurabilitySpec
extends Message
in package
Generated from protobuf message <code>couchbase.kv.v1.LegacyDurabilitySpec</code>
Table of Contents
- $num_persisted : mixed
- Generated from protobuf field <code>uint32 num_persisted = 2;</code>
- $num_replicated : mixed
- Generated from protobuf field <code>uint32 num_replicated = 1;</code>
- __construct() : mixed
- Constructor.
- getNumPersisted() : int
- Generated from protobuf field <code>uint32 num_persisted = 2;</code>
- getNumReplicated() : int
- Generated from protobuf field <code>uint32 num_replicated = 1;</code>
- setNumPersisted() : $this
- Generated from protobuf field <code>uint32 num_persisted = 2;</code>
- setNumReplicated() : $this
- Generated from protobuf field <code>uint32 num_replicated = 1;</code>
Properties
$num_persisted
Generated from protobuf field <code>uint32 num_persisted = 2;</code>
protected
mixed
$num_persisted
= 0
$num_replicated
Generated from protobuf field <code>uint32 num_replicated = 1;</code>
protected
mixed
$num_replicated
= 0
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type int $num_replicated @type int $num_persisted
}
Return values
mixed —getNumPersisted()
Generated from protobuf field <code>uint32 num_persisted = 2;</code>
public
getNumPersisted() : int
Return values
int —getNumReplicated()
Generated from protobuf field <code>uint32 num_replicated = 1;</code>
public
getNumReplicated() : int
Return values
int —setNumPersisted()
Generated from protobuf field <code>uint32 num_persisted = 2;</code>
public
setNumPersisted(int $var) : $this
Parameters
- $var : int
Return values
$this —setNumReplicated()
Generated from protobuf field <code>uint32 num_replicated = 1;</code>
public
setNumReplicated(int $var) : $this
Parameters
- $var : int