use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readShort.
/**
* {@inheritDoc}
*/
@Override
public short readShort(String name) {
DirectByteBufferStream stream = state.item().stream;
short val = stream.readShort();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readBooleanArray.
/**
* {@inheritDoc}
*/
@Nullable
@Override
public boolean[] readBooleanArray(String name) {
DirectByteBufferStream stream = state.item().stream;
boolean[] arr = stream.readBooleanArray();
lastRead = stream.lastFinished();
return arr;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readIgniteUuid.
/**
* {@inheritDoc}
*/
@Override
public IgniteUuid readIgniteUuid(String name) {
DirectByteBufferStream stream = state.item().stream;
IgniteUuid val = stream.readIgniteUuid();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readShortArray.
/**
* {@inheritDoc}
*/
@Nullable
@Override
public short[] readShortArray(String name) {
DirectByteBufferStream stream = state.item().stream;
short[] arr = stream.readShortArray();
lastRead = stream.lastFinished();
return arr;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readByteArray.
/**
* {@inheritDoc}
*/
@Nullable
@Override
public byte[] readByteArray(String name) {
DirectByteBufferStream stream = state.item().stream;
byte[] arr = stream.readByteArray();
lastRead = stream.lastFinished();
return arr;
}
Aggregations