use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readBitSet.
/**
* {@inheritDoc}
*/
@Override
public BitSet readBitSet(String name) {
DirectByteBufferStream stream = state.item().stream;
BitSet val = stream.readBitSet();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readBoolean.
/**
* {@inheritDoc}
*/
@Override
public boolean readBoolean(String name) {
DirectByteBufferStream stream = state.item().stream;
boolean val = stream.readBoolean();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readLong.
/**
* {@inheritDoc}
*/
@Override
public long readLong(String name) {
DirectByteBufferStream stream = state.item().stream;
long val = stream.readLong();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readString.
/**
* {@inheritDoc}
*/
@Override
public String readString(String name) {
DirectByteBufferStream stream = state.item().stream;
String val = stream.readString();
lastRead = stream.lastFinished();
return val;
}
use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.
the class DirectMessageReader method readMap.
/**
* {@inheritDoc}
*/
@Override
public <M extends Map<?, ?>> M readMap(String name, MessageCollectionItemType keyType, MessageCollectionItemType valType, boolean linked) {
DirectByteBufferStream stream = state.item().stream;
M map = stream.readMap(keyType, valType, linked, this);
lastRead = stream.lastFinished();
return map;
}
Aggregations