Package | Description |
---|---|
org.apache.hadoop.hdfs.protocolPB |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.hdfs.server.common | |
org.apache.hadoop.hdfs.server.datanode |
Modifier and Type | Method and Description |
---|---|
static HdfsServerConstants.ReplicaState |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.ReplicaStateProto state) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.ReplicaStateProto |
PBHelper.convert(HdfsServerConstants.ReplicaState state) |
Modifier and Type | Method and Description |
---|---|
static HdfsServerConstants.ReplicaState |
HdfsServerConstants.ReplicaState.getState(int v)
Retrieve ReplicaState corresponding to given index.
|
static HdfsServerConstants.ReplicaState |
HdfsServerConstants.ReplicaState.read(DataInput in)
Retrieve ReplicaState corresponding to index provided in binary stream.
|
static HdfsServerConstants.ReplicaState |
HdfsServerConstants.ReplicaState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.ReplicaState[] |
HdfsServerConstants.ReplicaState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HdfsServerConstants.ReplicaState |
LocalReplicaInPipeline.getState() |
HdfsServerConstants.ReplicaState |
FinalizedReplica.getState() |
HdfsServerConstants.ReplicaState |
ReplicaBeingWritten.getState() |
HdfsServerConstants.ReplicaState |
ReplicaUnderRecovery.getState() |
HdfsServerConstants.ReplicaState |
ReplicaWaitingToBeRecovered.getState() |
Modifier and Type | Method and Description |
---|---|
ReplicaBuilder |
ReplicaBuilder.setState(HdfsServerConstants.ReplicaState state) |
Constructor and Description |
---|
ReplicaBuilder(HdfsServerConstants.ReplicaState state) |
UnexpectedReplicaStateException(org.apache.hadoop.hdfs.protocol.ExtendedBlock b,
HdfsServerConstants.ReplicaState expectedState) |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.