use of com.ramussoft.common.journal.command.TransactionStorageCommand in project ramus by Vitaliy-Yakovchuk.
the class JournaledEngine method setAttribute.
@Override
public boolean setAttribute(long elementId, long attributeId, Transaction transaction) {
boolean updated = deligate.setBinaryAttribute(elementId, attributeId, transaction);
transaction.setRemoveBranchInfo(updated);
TransactionStorageCommand command = new TransactionStorageCommand(this, elementId, attributeId, transaction);
synchronized (swithJournalLock) {
journal.store(command);
}
return updated;
}
Aggregations