use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaDirectoryListingRemoveProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeString(fileName);
BinaryUtils.writeIgniteUuid(out, fileId);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaDirectoryListingRenameProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeString(oldName);
out.writeString(newName);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaDirectoryListingReplaceProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeString(name);
BinaryUtils.writeIgniteUuid(out, id);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaFileCreateProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
out.writeLong(accessTime);
out.writeLong(modificationTime);
IgfsUtils.writeProperties(out, props);
out.writeInt(blockSize);
BinaryUtils.writeIgniteUuid(out, affKey);
BinaryUtils.writeIgniteUuid(out, lockId);
out.writeBoolean(evictExclude);
out.writeLong(len);
}
use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class IgfsMetaFileLockProcessor method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
BinaryRawWriter out = writer.rawWriter();
BinaryUtils.writeIgniteUuid(out, lockId);
}
Aggregations