@InterfaceAudience.Public @InterfaceStability.Stable public class FsStatus extends Object implements Writable
FileSystem.| コンストラクタと説明 | 
|---|
| FsStatus(long capacity,
        long used,
        long remaining)Construct a FsStatus object, using the specified statistics | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| long | getCapacity()Return the capacity in bytes of the file system | 
| long | getRemaining()Return the number of remaining bytes on the file system | 
| long | getUsed()Return the number of bytes used on the file system | 
| void | readFields(DataInput in)Deserialize the fields of this object from  in. | 
| void | write(DataOutput out)Serialize the fields of this object to  out. | 
public FsStatus(long capacity, long used, long remaining)
public long getCapacity()
public long getUsed()
public long getRemaining()
public void write(DataOutput out) throws IOException
Writableout.write インタフェース内 Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in) throws IOException
Writablein.  
 
 For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields インタフェース内 Writablein - DataInput to deseriablize this object from.IOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.