use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readFloatArray.
/**
* {@inheritDoc}
*/
@Nullable
@Override
public float[] readFloatArray(String name) {
DirectByteBufferStream stream = state.item().stream;
float[] arr = stream.readFloatArray();
lastRead = stream.lastFinished();
return arr;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readFloat.
/**
* {@inheritDoc}
*/
@Override
public float readFloat(String name) {
DirectByteBufferStream stream = state.item().stream;
float val = stream.readFloat();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readCharArray.
/**
* {@inheritDoc}
*/
@Nullable
@Override
public char[] readCharArray(String name) {
DirectByteBufferStream stream = state.item().stream;
char[] arr = stream.readCharArray();
lastRead = stream.lastFinished();
return arr;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readDouble.
/**
* {@inheritDoc}
*/
@Override
public double readDouble(String name) {
DirectByteBufferStream stream = state.item().stream;
double val = stream.readDouble();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readDoubleArray.
/**
* {@inheritDoc}
*/
@Nullable
@Override
public double[] readDoubleArray(String name) {
DirectByteBufferStream stream = state.item().stream;
double[] arr = stream.readDoubleArray();
lastRead = stream.lastFinished();
return arr;
}
Aggregations