use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaFileRangeDeleteProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeObject(range);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaFileRangeUpdateProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeObject(range);
out.writeInt(status);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaFileReserveSpaceProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeLong(space);
out.writeObject(affRange);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaFileUnlockProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeLong(modificationTime);
if (updateSpace) {
out.writeBoolean(true);
out.writeLong(space);
out.writeObject(affRange);
} else
out.writeBoolean(false);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaUpdatePropertiesProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
IgfsUtils.writeProperties(out, props);
}
Aggregations