Search in sources :

Example 51 with DirectByteBufferStream

use of org.apache.ignite.internal.direct.stream.DirectByteBufferStream in project ignite by apache.

the class DirectMessageWriter method writeShortArray.

/**
 * {@inheritDoc}
 */
@Override
public boolean writeShortArray(String name, @Nullable short[] val) {
    DirectByteBufferStream stream = state.item().stream;
    stream.writeShortArray(val);
    return stream.lastFinished();
}
Also used : DirectByteBufferStream(org.apache.ignite.internal.direct.stream.DirectByteBufferStream)

Aggregations

DirectByteBufferStream (org.apache.ignite.internal.direct.stream.DirectByteBufferStream)51 Nullable (org.jetbrains.annotations.Nullable)9 BitSet (java.util.BitSet)1 UUID (java.util.UUID)1 IgniteUuid (org.apache.ignite.lang.IgniteUuid)1