public long writeLogRecord(LogRecord logRecord,
                               long reservedDelta,
                               boolean flush)
                    throws ObjectManagerException
    {
        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.entry(this, cclass
                        , "writeLogRecord"
                        , new Object[] { logRecord, new Long(reservedDelta), new Boolean(flush) }
                            );

        long logSequenceNumber = objectManagerState.logOutput.writeNext(logRecord
                                                                        , reservedDelta
                                                                        , true
                                                                        , flush
                        );

        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.exit(this, cclass
                       , "writeLogRecord"
                       , new Object[] { new Long(logSequenceNumber) }
                            );
        return logSequenceNumber;
    }
public long writeLogRecord ( LogRecord logRecord , long reservedDelta , boolean flush ) throws ObjectManagerException { if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . entry ( this , cclass , "writeLogRecord" , new Object [ ] { logRecord , new Long ( reservedDelta ) , new Boolean ( flush ) } ) ; long logSequenceNumber = objectManagerState . logOutput . writeNext ( logRecord , reservedDelta , true , flush ) ; if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . exit ( this , cclass , "writeLogRecord" , new Object [ ] { new Long ( logSequenceNumber ) } ) ; return logSequenceNumber ; }
/*
Write a LogRecord to the transaction log.

@param logRecord to be written.

@param reservedDelta the change in the number of bytes reserved in the log
additional to the length of the logRecord itself.

@param flush true if the logRecord must be written to disk before we return.

@returns long the logSequenceNumber of the LogRecord written.

@deprecated see writeLogRecord(logRecord,boolean);