use of com.ramussoft.common.journal.command.SetStreamCommand in project ramus by Vitaliy-Yakovchuk.
the class JournaledEngine method setUndoableStream.
@Override
public void setUndoableStream(String path, byte[] data) {
byte[] oldBytes = getStream(path);
setStream(path, data);
synchronized (swithJournalLock) {
journal.store(new SetStreamCommand(this, oldBytes, data, path));
}
}
Aggregations