public enum SnapshotMarkerFlags extends Enum<SnapshotMarkerFlags>
| Enum Constant and Description |
|---|
ACK
Specifies that this snapshot marker should return a response once the entire snapshot is received.
|
CHECKPOINT
An internally used flag for intra-cluster replication to help to keep in-memory datastructures look similar.
|
DISK
Specifies that the snapshot contains on-disk items only.
|
MEMORY
Specifies that the snapshot contains in-memory items only.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet(int flags) |
int |
value() |
static SnapshotMarkerFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotMarkerFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotMarkerFlags MEMORY
public static final SnapshotMarkerFlags DISK
public static final SnapshotMarkerFlags CHECKPOINT
public static final SnapshotMarkerFlags ACK
To acknowledge DcpSnapshotMarkerResponse have to be sent back with the same opaque value.
public static SnapshotMarkerFlags[] values()
for (SnapshotMarkerFlags c : SnapshotMarkerFlags.values()) System.out.println(c);
public static SnapshotMarkerFlags 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 nullpublic int value()
public boolean isSet(int flags)
Copyright © 2021 Couchbase, Inc.. All rights reserved.