public class IgfsPathSummary extends Object implements Externalizable, Binarylizable
| 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 |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
long |
totalLength() |
void |
totalLength(long totalLen) |
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
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 ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary in interface Binarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary in interface Binarylizablereader - Binary object reader.BinaryObjectException - In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019