|
Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Interface for reading standard primitives More...
Inherited by Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
Public Member Functions | |
| double | ReadDouble () |
| Reads double More... | |
| float | ReadFloat () |
| Reads float More... | |
| long | ReadLong () |
| Reads long More... | |
| bool | ReadBoolean () |
| Reads bool More... | |
| int | ReadInt32 () |
| Reads integer More... | |
| short | ReadInt16 () |
| Reads short More... | |
| string | ReadString () |
| Reads string More... | |
| int | Read (ref byte[] buffer, int index, int bytesToRead) |
| Reads data in to the buffer More... | |
| Task< double > | ReadDoubleAsync (CancellationToken token) |
| Reads double asynchronously More... | |
| Task< float > | ReadFloatAsync (CancellationToken token) |
| Reads float asynchronously More... | |
| Task< long > | ReadLongAsync (CancellationToken token) |
| Reads long asynchronously More... | |
| Task< bool > | ReadBooleanAsync (CancellationToken token) |
| Reads bool asynchronously More... | |
| Task< int > | ReadInt32Async (CancellationToken token) |
| Reads integer asynchronously More... | |
| Task< short > | ReadInt16Async (CancellationToken token) |
| Reads short asynchronously More... | |
| Task< string > | ReadStringAsync (CancellationToken token) |
| Reads string asynchronously More... | |
| Task< int > | ReadAsync (byte[] buffer, int index, int bytesToRead, CancellationToken token) |
| Reads data in to the buffer asynchronously More... | |
Interface for reading standard primitives
| int Org.Apache.REEF.Wake.Remote.IDataReader.Read | ( | ref byte[] | buffer, |
| int | index, | ||
| int | bytesToRead | ||
| ) |
Reads data in to the buffer
| buffer | byte array to which to write |
| index | starting index in the array |
| bytesToRead | number of bytes to write |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| Task<int> Org.Apache.REEF.Wake.Remote.IDataReader.ReadAsync | ( | byte[] | buffer, |
| int | index, | ||
| int | bytesToRead, | ||
| CancellationToken | token | ||
| ) |
Reads data in to the buffer asynchronously
| buffer | byte array to which to write |
| index | starting index in the array |
| bytesToRead | number of bytes to write |
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| bool Org.Apache.REEF.Wake.Remote.IDataReader.ReadBoolean | ( | ) |
| Task<bool> Org.Apache.REEF.Wake.Remote.IDataReader.ReadBooleanAsync | ( | CancellationToken | token | ) |
Reads bool asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| double Org.Apache.REEF.Wake.Remote.IDataReader.ReadDouble | ( | ) |
| Task<double> Org.Apache.REEF.Wake.Remote.IDataReader.ReadDoubleAsync | ( | CancellationToken | token | ) |
Reads double asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| float Org.Apache.REEF.Wake.Remote.IDataReader.ReadFloat | ( | ) |
| Task<float> Org.Apache.REEF.Wake.Remote.IDataReader.ReadFloatAsync | ( | CancellationToken | token | ) |
Reads float asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| short Org.Apache.REEF.Wake.Remote.IDataReader.ReadInt16 | ( | ) |
| Task<short> Org.Apache.REEF.Wake.Remote.IDataReader.ReadInt16Async | ( | CancellationToken | token | ) |
Reads short asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| int Org.Apache.REEF.Wake.Remote.IDataReader.ReadInt32 | ( | ) |
| Task<int> Org.Apache.REEF.Wake.Remote.IDataReader.ReadInt32Async | ( | CancellationToken | token | ) |
Reads integer asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| long Org.Apache.REEF.Wake.Remote.IDataReader.ReadLong | ( | ) |
| Task<long> Org.Apache.REEF.Wake.Remote.IDataReader.ReadLongAsync | ( | CancellationToken | token | ) |
Reads long asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
| string Org.Apache.REEF.Wake.Remote.IDataReader.ReadString | ( | ) |
| Task<string> Org.Apache.REEF.Wake.Remote.IDataReader.ReadStringAsync | ( | CancellationToken | token | ) |
Reads string asynchronously
| token | Cancellation token |
Implemented in Org.Apache.REEF.Wake.Remote.Impl.StreamDataReader.
1.8.11