@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) |
ECBlockGroupStats(long lowRedundancyBlockGroups,
long corruptBlockGroups,
long missingBlockGroups,
long bytesInFutureBlockGroups,
long pendingDeletionBlocks,
Long highestPriorityLowRedundancyBlocks) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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)
public ECBlockGroupStats(long lowRedundancyBlockGroups, long corruptBlockGroups, long missingBlockGroups, long bytesInFutureBlockGroups, long pendingDeletionBlocks, Long highestPriorityLowRedundancyBlocks)
public long getBytesInFutureBlockGroups()
public long getCorruptBlockGroups()
public long getLowRedundancyBlockGroups()
public long getMissingBlockGroups()
public long getPendingDeletionBlocks()
public boolean hasHighestPriorityLowRedundancyBlocks()
public Long getHighestPriorityLowRedundancyBlocks()
public static ECBlockGroupStats merge(Collection<ECBlockGroupStats> stats)
stats
- Collection of stats to merge.Copyright © 2019 Apache Software Foundation. All rights reserved.