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; }
public StorageBlockReport(DatanodeStorage storage, BlockListAsLongs blocks) { this.storage = storage; this.blocks = blocks; }
public StorageReceivedDeletedBlocks(DatanodeStorage storage, ReceivedDeletedBlockInfo [] blocks) { this.storage = storage; this.blocks = blocks; }
public StorageReceivedDeletedBlocks(string storageID, ReceivedDeletedBlockInfo[] blocks) { this.storage = new DatanodeStorage(storageID); this.blocks = blocks; }