public class ContentCounts extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentCounts.Builder |
Modifier and Type | Method and Description |
---|---|
void |
addContent(Content c,
long val) |
void |
addContents(ContentCounts that) |
void |
addTypeSpace(org.apache.hadoop.fs.StorageType t,
long val) |
void |
addTypeSpaces(EnumCounters<org.apache.hadoop.fs.StorageType> that) |
long |
getDirectoryCount() |
long |
getFileCount() |
long |
getLength() |
long |
getSnapshotableDirectoryCount() |
long |
getSnapshotCount() |
long |
getStoragespace() |
long |
getSymlinkCount() |
long |
getTypeSpace(org.apache.hadoop.fs.StorageType t) |
long[] |
getTypeSpaces() |
public long getFileCount()
public long getDirectoryCount()
public long getSymlinkCount()
public long getLength()
public long getStoragespace()
public long getSnapshotCount()
public long getSnapshotableDirectoryCount()
public long[] getTypeSpaces()
public long getTypeSpace(org.apache.hadoop.fs.StorageType t)
public void addContent(Content c, long val)
public void addContents(ContentCounts that)
public void addTypeSpace(org.apache.hadoop.fs.StorageType t, long val)
public void addTypeSpaces(EnumCounters<org.apache.hadoop.fs.StorageType> that)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.