Package com.couchbase.client.dcp.message
Enum Class DcpFailoverLogResponse
- All Implemented Interfaces:
Serializable,Comparable<DcpFailoverLogResponse>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Method Summary
Modifier and TypeMethodDescriptionstatic List<FailoverLogEntry>entries(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static voidinit(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static booleanis(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static intnumLogEntries(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.static longseqnoEntry(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int index) Deprecated.in favor ofentries(ByteBuf)static StringtoString(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static DcpFailoverLogResponseReturns the enum constant of this class with the specified name.static DcpFailoverLogResponse[]values()Returns an array containing the constants of this enum class, in the order they are declared.static intvbucket(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) static voidvbucket(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int vbid) static longvbuuidEntry(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int index) Deprecated.in favor ofentries(ByteBuf)
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
is
public static boolean is(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
init
public static void init(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
vbucket
public static void vbucket(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int vbid) -
vbucket
public static int vbucket(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
numLogEntries
@Deprecated public static int numLogEntries(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) Deprecated.in favor ofentries(ByteBuf) -
vbuuidEntry
@Deprecated public static long vbuuidEntry(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int index) Deprecated.in favor ofentries(ByteBuf) -
seqnoEntry
@Deprecated public static long seqnoEntry(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer, int index) Deprecated.in favor ofentries(ByteBuf) -
entries
public static List<FailoverLogEntry> entries(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf buffer) -
toString
-
entries(ByteBuf)