@InterfaceAudience.Public @InterfaceStability.Evolving public final class ECBlockGroupStats extends Object
BlockType.STRIPED
in the filesystem.
ClientProtocol.getECBlockGroupStats()
Constructor and Description |
---|
ECBlockGroupStats(long lowRedundancyBlockGroups,
long corruptBlockGroups,
long missingBlockGroups,
long bytesInFutureBlockGroups,
long pendingDeletionBlocks,
long badlyDistributedBlocks) |
ECBlockGroupStats(long lowRedundancyBlockGroups,
long corruptBlockGroups,
long missingBlockGroups,
long bytesInFutureBlockGroups,
long pendingDeletionBlocks,
long badlyDistributedBlocks,
Long highestPriorityLowRedundancyBlocks) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getBadlyDistributedBlocks() |
long |
getBytesInFutureBlockGroups() |
long |
getCorruptBlockGroups() |
Long |
getHighestPriorityLowRedundancyBlocks() |
long |
getLowRedundancyBlockGroups() |
long |
getMissingBlockGroups() |
long |
getPendingDeletionBlocks() |
int |
hashCode() |
boolean |
hasHighestPriorityLowRedundancyBlocks() |
static ECBlockGroupStats |
merge(Collection<ECBlockGroupStats> stats)
Merge the multiple ECBlockGroupStats.
|
String |
toString() |
public ECBlockGroupStats(long lowRedundancyBlockGroups, long corruptBlockGroups, long missingBlockGroups, long bytesInFutureBlockGroups, long pendingDeletionBlocks, long badlyDistributedBlocks)
public ECBlockGroupStats(long lowRedundancyBlockGroups, long corruptBlockGroups, long missingBlockGroups, long bytesInFutureBlockGroups, long pendingDeletionBlocks, long badlyDistributedBlocks, Long highestPriorityLowRedundancyBlocks)
public long getBytesInFutureBlockGroups()
public long getCorruptBlockGroups()
public long getLowRedundancyBlockGroups()
public long getMissingBlockGroups()
public long getPendingDeletionBlocks()
public long getBadlyDistributedBlocks()
public boolean hasHighestPriorityLowRedundancyBlocks()
public Long getHighestPriorityLowRedundancyBlocks()
public static ECBlockGroupStats merge(Collection<ECBlockGroupStats> stats)
stats
- Collection of stats to merge.Copyright © 2024 Apache Software Foundation. All rights reserved.