Package com._1c.g5.v8.bm.store
Interface IBmWorkLog
- 
 @Deprecated public interface IBmWorkLog Deprecated.UseIBmWal.Work log.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceIBmWorkLog.IEntryProcessorDeprecated.Log entry processor.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.Closes and deletes the log.voidclose(boolean delete)Deprecated.Closes the log.booleanlog(byte[] data, int offset, int length)Deprecated.Adds log entry.voidpreStart(IBmWorkLog.IEntryProcessor entryProcessor)Deprecated.Pre-starts the log.voidreset()Deprecated.Resets the log (all the entries are removed).voidstart()Deprecated.Starts the log.
 
- 
- 
- 
Method Detail- 
preStartvoid preStart(IBmWorkLog.IEntryProcessor entryProcessor) throws IOException Deprecated.Pre-starts the log. Invokes entry processor for each log entry if any.- Parameters:
- entryProcessor- The entry processor. May not be- null.
- Throws:
- IOException- if any I/O error occurs.
 
 - 
startvoid start() throws IOExceptionDeprecated.Starts the log.- Throws:
- IOException- if any I/O error occurs.
 
 - 
closevoid close() throws IOExceptionDeprecated.Closes and deletes the log.- Throws:
- IOException- if any I/O error occurs.
 
 - 
closevoid close(boolean delete) throws IOExceptionDeprecated.Closes the log. In contrast to its zero-argument counterpart allows the user to decide whether the log file should be deleted.- Parameters:
- delete- The flag indicating whether the log file should be deleted.
- Throws:
- IOException- if any I/O error occurs.
 
 - 
logboolean log(byte[] data, int offset, int length) throws IOExceptionDeprecated.Adds log entry.- Parameters:
- data- A byte array containing the log entry data. May not be- null.
- offset- The offset of the log entry data within the array.
- length- The length of the entry data.
- Returns:
- trueif the entry has been added,- falseif the log size reached the threshold.
- Throws:
- IOException- if any I/O error occurs.
 
 - 
resetvoid reset() throws IOExceptionDeprecated.Resets the log (all the entries are removed).- Throws:
- IOException- if any I/O error occurs.
 
 
- 
 
-