protected final long writeNext ( LogRecord logRecord , long reservedDelta , boolean checkSpace , boolean flush ) throws ObjectManagerException { // if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) // trace.entry(this, // cclass, // "writeNext", // new Object[] {logRecord, // new Long(reservedDelta), // new Boolean(checkSpace), // new Boolean (flush)); long logSequenceNumber = addLogRecord ( logRecord , reservedDelta , false , checkSpace , flush ) ; // if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) // trace.exit(this, // cclass, // "writeNext", // new Object[] {new Long(logSequenceNumber)}); return logSequenceNumber ; }
Copy a LogRecord into the LogBuffer ready to write to end of the LogFile .