public abstract class IgfsClientAbstractCallable<T> extends Object implements IgniteCallable<T>, Binarylizable
| Modifier and Type | Field and Description |
|---|---|
protected String |
igfsName
IGFS name.
|
protected IgfsPath |
path
Path for operation.
|
protected String |
user
User name.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IgfsClientAbstractCallable()
Default constructor.
|
protected |
IgfsClientAbstractCallable(@Nullable String igfsName,
@Nullable String user,
@Nullable IgfsPath path)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
call() |
protected abstract T |
call0(IgfsContext ctx)
Execute task.
|
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
protected void |
readBinary0(BinaryRawReader rawReader)
Read binary.
|
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
protected void |
writeBinary0(BinaryRawWriter rawWriter)
Write binary.
|
protected String igfsName
protected IgfsPath path
protected String user
protected IgfsClientAbstractCallable()
protected abstract T call0(IgfsContext ctx) throws Exception
ctx - IGFS ocntext.Exception - If failed.public final void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary in interface Binarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public final void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary in interface Binarylizablereader - Binary object reader.BinaryObjectException - In case of error.protected void writeBinary0(BinaryRawWriter rawWriter)
rawWriter - Raw writer.protected void readBinary0(BinaryRawReader rawReader)
rawReader - Raw reader.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020