public class IgfsPathSummary extends Object implements Externalizable
Constructor and Description |
---|
IgfsPathSummary()
Empty constructor required by
Externalizable . |
IgfsPathSummary(IgfsPath path)
Construct empty path summary.
|
Modifier and Type | Method and Description |
---|---|
int |
directoriesCount() |
void |
directoriesCount(int dirCnt) |
int |
filesCount() |
void |
filesCount(int filesCnt) |
IgfsPath |
path() |
void |
path(IgfsPath path) |
void |
readExternal(ObjectInput in) |
String |
toString() |
long |
totalLength() |
void |
totalLength(long totalLen) |
void |
writeExternal(ObjectOutput out) |
public IgfsPathSummary()
Externalizable
.public IgfsPathSummary(IgfsPath path)
path
- Path.public int filesCount()
public void filesCount(int filesCnt)
filesCnt
- Files count.public int directoriesCount()
public void directoriesCount(int dirCnt)
dirCnt
- Directories count.public long totalLength()
public void totalLength(long totalLen)
totalLen
- Total length.public IgfsPath path()
public void path(IgfsPath path)
path
- Path for which summary is obtained.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015