protected static class Executions.StreamableCallable extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Object>, Streamable
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.Object[] |
_args |
protected java.lang.Class<? extends java.util.concurrent.Callable<?>> |
_classCallable |
protected short |
_constructorNumber |
| 构造器和说明 |
|---|
Executions.StreamableCallable() |
Executions.StreamableCallable(java.lang.Class<? extends java.util.concurrent.Callable<?>> classCallable,
byte constructorNumber,
java.lang.Object... args) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
call() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected java.lang.Class<? extends java.util.concurrent.Callable<?>> _classCallable
protected short _constructorNumber
protected java.lang.Object[] _args
public Executions.StreamableCallable()
public Executions.StreamableCallable(java.lang.Class<? extends java.util.concurrent.Callable<?>> classCallable,
byte constructorNumber,
java.lang.Object... args)
public java.lang.Object call()
throws java.lang.Exception
call 在接口中 java.util.concurrent.Callable<java.lang.Object>java.lang.Exceptionpublic void writeTo(java.io.DataOutput out)
throws java.lang.Exception
StreamablewriteTo 在接口中 Streamablejava.lang.Exceptionpublic void readFrom(java.io.DataInput in)
throws java.lang.Exception
StreamablereadFrom 在接口中 Streamablejava.lang.Exceptionpublic java.lang.String toString()
toString 在类中 java.lang.Object