public static final class ZooKeeperPB.SplitLogTask extends com.google.protobuf.GeneratedMessageLite implements ZooKeeperPB.SplitLogTaskOrBuilder
SplitLogTask
WAL SplitLog directory znodes have this for content. Used doing distributed WAL splitting. Holds current state and name of server that originated split.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZooKeeperPB.SplitLogTask.Builder
Protobuf type
SplitLogTask |
static class |
ZooKeeperPB.SplitLogTask.RecoveryMode
Protobuf enum
SplitLogTask.RecoveryMode |
static class |
ZooKeeperPB.SplitLogTask.State
Protobuf enum
SplitLogTask.State |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_FIELD_NUMBER |
static com.google.protobuf.Parser<ZooKeeperPB.SplitLogTask> |
PARSER |
static int |
SERVER_NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperPB.SplitLogTask |
getDefaultInstance() |
ZooKeeperPB.SplitLogTask |
getDefaultInstanceForType() |
ZooKeeperPB.SplitLogTask.RecoveryMode |
getMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
com.google.protobuf.Parser<ZooKeeperPB.SplitLogTask> |
getParserForType() |
int |
getSerializedSize() |
HBasePB.ServerName |
getServerName()
required .ServerName server_name = 2; |
ZooKeeperPB.SplitLogTask.State |
getState()
required .SplitLogTask.State state = 1; |
boolean |
hasMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; |
boolean |
hasServerName()
required .ServerName server_name = 2; |
boolean |
hasState()
required .SplitLogTask.State state = 1; |
boolean |
isInitialized() |
static ZooKeeperPB.SplitLogTask.Builder |
newBuilder() |
static ZooKeeperPB.SplitLogTask.Builder |
newBuilder(ZooKeeperPB.SplitLogTask prototype) |
ZooKeeperPB.SplitLogTask.Builder |
newBuilderForType() |
static ZooKeeperPB.SplitLogTask |
parseDelimitedFrom(InputStream input) |
static ZooKeeperPB.SplitLogTask |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SplitLogTask |
parseFrom(byte[] data) |
static ZooKeeperPB.SplitLogTask |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SplitLogTask |
parseFrom(com.google.protobuf.ByteString data) |
static ZooKeeperPB.SplitLogTask |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SplitLogTask |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ZooKeeperPB.SplitLogTask |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ZooKeeperPB.SplitLogTask |
parseFrom(InputStream input) |
static ZooKeeperPB.SplitLogTask |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ZooKeeperPB.SplitLogTask.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<ZooKeeperPB.SplitLogTask> PARSER
public static final int STATE_FIELD_NUMBER
public static final int SERVER_NAME_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static ZooKeeperPB.SplitLogTask getDefaultInstance()
public ZooKeeperPB.SplitLogTask getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ZooKeeperPB.SplitLogTask> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasState()
required .SplitLogTask.State state = 1;hasState in interface ZooKeeperPB.SplitLogTaskOrBuilderpublic ZooKeeperPB.SplitLogTask.State getState()
required .SplitLogTask.State state = 1;getState in interface ZooKeeperPB.SplitLogTaskOrBuilderpublic boolean hasServerName()
required .ServerName server_name = 2;hasServerName in interface ZooKeeperPB.SplitLogTaskOrBuilderpublic HBasePB.ServerName getServerName()
required .ServerName server_name = 2;getServerName in interface ZooKeeperPB.SplitLogTaskOrBuilderpublic boolean hasMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];hasMode in interface ZooKeeperPB.SplitLogTaskOrBuilderpublic ZooKeeperPB.SplitLogTask.RecoveryMode getMode()
optional .SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN];getMode in interface ZooKeeperPB.SplitLogTaskOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.SplitLogTask parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.SplitLogTask parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ZooKeeperPB.SplitLogTask parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ZooKeeperPB.SplitLogTask.Builder newBuilder()
public ZooKeeperPB.SplitLogTask.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ZooKeeperPB.SplitLogTask.Builder newBuilder(ZooKeeperPB.SplitLogTask prototype)
public ZooKeeperPB.SplitLogTask.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors