|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.util.concurrent.Task<V>
pivot.io.IOTask<V>
public abstract class IOTask<V>
Abstract base class for input/output tasks.
Nested Class Summary | |
---|---|
protected class |
IOTask.MonitoredInputStream
Input stream that monitors the bytes that are read from it by incrementing the bytesReceived member variable. |
protected class |
IOTask.MonitoredOutputStream
Output stream that monitors the bytes that are written to it by incrementing the bytesSent member variable. |
Field Summary | |
---|---|
protected long |
bytesReceived
|
protected long |
bytesSent
|
Fields inherited from class pivot.util.concurrent.Task |
---|
abort, timeout |
Constructor Summary | |
---|---|
IOTask()
|
|
IOTask(Dispatcher dispatcher)
|
Method Summary |
---|
Methods inherited from class pivot.util.concurrent.Task |
---|
abort, execute, execute, getDispatcher, getFault, getResult, getTimeout, isPending, setTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected volatile long bytesSent
protected volatile long bytesReceived
Constructor Detail |
---|
public IOTask()
public IOTask(Dispatcher dispatcher)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |