@InterfaceAudience.Private public class SplitLogTask extends Object
Immutable
Modifier and Type | Class and Description |
---|---|
static class |
SplitLogTask.Done |
static class |
SplitLogTask.Err |
static class |
SplitLogTask.Owned |
static class |
SplitLogTask.Resigned |
static class |
SplitLogTask.Unassigned |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ServerName |
getServerName() |
int |
hashCode() |
boolean |
isDone() |
boolean |
isDone(ServerName sn) |
boolean |
isErr() |
boolean |
isErr(ServerName sn) |
boolean |
isOwned() |
boolean |
isOwned(ServerName sn) |
boolean |
isResigned() |
boolean |
isResigned(ServerName sn) |
boolean |
isUnassigned() |
boolean |
isUnassigned(ServerName sn) |
static SplitLogTask |
parseFrom(byte[] data) |
byte[] |
toByteArray() |
String |
toString() |
public ServerName getServerName()
public boolean isUnassigned(ServerName sn)
public boolean isUnassigned()
public boolean isOwned(ServerName sn)
public boolean isOwned()
public boolean isResigned(ServerName sn)
public boolean isResigned()
public boolean isDone(ServerName sn)
public boolean isDone()
public boolean isErr(ServerName sn)
public boolean isErr()
public static SplitLogTask parseFrom(byte[] data) throws DeserializationException
data
- Serialized date to parse.data
DeserializationException
toByteArray()
public byte[] toByteArray()
parseFrom(byte[])
Copyright © 2007–2019 Cloudera. All rights reserved.