Package org.apache.hadoop.hbase
Class SplitLogTask
java.lang.Object
org.apache.hadoop.hbase.SplitLogTask
- Direct Known Subclasses:
SplitLogTask.Done
,SplitLogTask.Err
,SplitLogTask.Owned
,SplitLogTask.Resigned
,SplitLogTask.Unassigned
Deprecated.
since 2.4.0 and in 3.0.0, to be removed in 4.0.0, replaced by procedure-based
distributed WAL splitter, see SplitWALManager
State of a WAL log split during distributed splitting. State is kept up in zookeeper.
Encapsulates protobuf serialization/deserialization so we don't leak generated pb outside of this
class. Used by regionserver and master packages.
Immutable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated.static class
Deprecated.static class
Deprecated.static class
Deprecated.static class
Deprecated. -
Field Summary
Modifier and TypeFieldDescriptionprivate final ServerName
Deprecated.private final org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.SplitLogTask.State
Deprecated. -
Constructor Summary
ConstructorDescriptionSplitLogTask
(ServerName originServer, org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.SplitLogTask.State state) Deprecated.SplitLogTask
(org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.SplitLogTask slt) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.int
hashCode()
Deprecated.boolean
isDone()
Deprecated.boolean
isDone
(ServerName sn) Deprecated.boolean
isErr()
Deprecated.boolean
isErr
(ServerName sn) Deprecated.boolean
isOwned()
Deprecated.boolean
isOwned
(ServerName sn) Deprecated.boolean
Deprecated.boolean
isResigned
(ServerName sn) Deprecated.boolean
Deprecated.boolean
Deprecated.static SplitLogTask
parseFrom
(byte[] data) Deprecated.byte[]
Deprecated.toString()
Deprecated.
-
Field Details
-
originServer
Deprecated. -
state
private final org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.SplitLogTask.State stateDeprecated.
-
-
Constructor Details
-
SplitLogTask
SplitLogTask(org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.SplitLogTask slt) Deprecated. -
SplitLogTask
SplitLogTask(ServerName originServer, org.apache.hadoop.hbase.shaded.protobuf.generated.ZooKeeperProtos.SplitLogTask.State state) Deprecated.
-
-
Method Details
-
getServerName
Deprecated. -
isUnassigned
Deprecated. -
isUnassigned
Deprecated. -
isOwned
Deprecated. -
isOwned
Deprecated. -
isResigned
Deprecated. -
isResigned
Deprecated. -
isDone
Deprecated. -
isDone
Deprecated. -
isErr
Deprecated. -
isErr
Deprecated. -
toString
Deprecated. -
equals
Deprecated. -
hashCode
Deprecated. -
parseFrom
Deprecated.- Parameters:
data
- Serialized date to parse.- Returns:
- An SplitLogTaskState instance made of the passed
data
- Throws:
DeserializationException
- See Also:
-
toByteArray
Deprecated.- Returns:
- This instance serialized into a byte array
- See Also:
-