コード例 #1
0
 public StorageReport(DatanodeStorage storage, bool failed, long capacity, long dfsUsed
                      , long remaining, long bpUsed)
 {
     this.storage       = storage;
     this.failed        = failed;
     this.capacity      = capacity;
     this.dfsUsed       = dfsUsed;
     this.remaining     = remaining;
     this.blockPoolUsed = bpUsed;
 }
コード例 #2
0
 public StorageBlockReport(DatanodeStorage storage, BlockListAsLongs blocks)
 {
     this.storage = storage;
     this.blocks  = blocks;
 }
コード例 #3
0
 public StorageReceivedDeletedBlocks(DatanodeStorage storage, ReceivedDeletedBlockInfo
                                     [] blocks)
 {
     this.storage = storage;
     this.blocks  = blocks;
 }
コード例 #4
0
 public StorageReceivedDeletedBlocks(string storageID, ReceivedDeletedBlockInfo[]
                                     blocks)
 {
     this.storage = new DatanodeStorage(storageID);
     this.blocks  = blocks;
 }