org.apache.hadoop.hdfs.server.protocol
Class DatanodeStorage
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.DatanodeStorage
public class DatanodeStorage
- extends Object
Class captures information of a storage in Datanode.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatanodeStorage
public DatanodeStorage(String storageID)
- Create a storage with
DatanodeStorage.State.NORMAL
.
- Parameters:
storageID
-
DatanodeStorage
public DatanodeStorage(String sid,
DatanodeStorage.State s)
getStorageID
public String getStorageID()
getState
public DatanodeStorage.State getState()
Copyright © 2013 Apache Software Foundation. All Rights Reserved.