public class VisorFileBlockTaskArg extends VisorDataTransferObject
VisorFileBlockTaskV1, V2, V3| Constructor and Description |
|---|
VisorFileBlockTaskArg()
Default constructor.
|
VisorFileBlockTaskArg(String path,
long off,
int blockSz,
long lastModified) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockSize() |
long |
getLastModified() |
long |
getOffset() |
String |
getPath() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorFileBlockTaskArg()
public VisorFileBlockTaskArg(String path, long off, int blockSz, long lastModified)
path - Log file path.off - Offset in file.blockSz - Block size.lastModified - Log file last modified timestamp.public String getPath()
public long getOffset()
public int getBlockSize()
public long getLastModified()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018