/** * add a USER record consisting of byte[] to the log. * <p>waits for overflow notification processing to complete * prior to putting the data to the log. * * @throws LogClosedException * If the TM has called open() but has not called replay(). * Also thrown if log is actually closed. * Check the toString() for details. * * @see org.objectweb.howl.log.Logger#put(byte[], boolean) */ public long put(byte[] data, boolean sync) throws LogClosedException, LogRecordSizeException, LogFileOverflowException, InterruptedException, IOException { checkPutEnabled(); // wait for overflow notification processor to finish. onpWait(); return put(LogRecordType.USER, new byte[][]{data}, sync); }
/** * add a USER record consisting of byte[][] to the log. * <p>waits for overflow notification processing to complete * prior to putting the data to the log. * * @throws LogClosedException * If the TM has called open() but has not called replay(). * Also thrown if log is actually closed. * Check the toString() for details. * * @see org.objectweb.howl.log.Logger#put(byte[][], boolean) */ public long put(byte[][] data, boolean sync) throws LogClosedException, LogRecordSizeException, LogFileOverflowException, InterruptedException, IOException { checkPutEnabled(); // wait for overflow notification processor to finish. onpWait(); return put(LogRecordType.USER, data, sync); }
/** * add a USER record consisting of byte[] to the log. * <p>waits for overflow notification processing to complete * prior to putting the data to the log. * * @throws LogClosedException * If the TM has called open() but has not called replay(). * Also thrown if log is actually closed. * Check the toString() for details. * * @see org.objectweb.howl.log.Logger#put(byte[], boolean) */ public long put(byte[] data, boolean sync) throws LogClosedException, LogRecordSizeException, LogFileOverflowException, InterruptedException, IOException { checkPutEnabled(); // wait for overflow notification processor to finish. onpWait(); return put(LogRecordType.USER, new byte[][]{data}, sync); }
/** * add a USER record consisting of byte[] to the log. * <p>waits for overflow notification processing to complete * prior to putting the data to the log. * * @throws LogClosedException * If the TM has called open() but has not called replay(). * Also thrown if log is actually closed. * Check the toString() for details. * * @see org.objectweb.howl.log.Logger#put(byte[], boolean) */ public long put(byte[] data, boolean sync) throws LogClosedException, LogRecordSizeException, LogFileOverflowException, InterruptedException, IOException { checkPutEnabled(); // wait for overflow notification processor to finish. onpWait(); return put(LogRecordType.USER, new byte[][]{data}, sync); }
/** * add a USER record consisting of byte[][] to the log. * <p>waits for overflow notification processing to complete * prior to putting the data to the log. * * @throws LogClosedException * If the TM has called open() but has not called replay(). * Also thrown if log is actually closed. * Check the toString() for details. * * @see org.objectweb.howl.log.Logger#put(byte[][], boolean) */ public long put(byte[][] data, boolean sync) throws LogClosedException, LogRecordSizeException, LogFileOverflowException, InterruptedException, IOException { checkPutEnabled(); // wait for overflow notification processor to finish. onpWait(); return put(LogRecordType.USER, data, sync); }
/** * add a USER record consisting of byte[][] to the log. * <p>waits for overflow notification processing to complete * prior to putting the data to the log. * * @throws LogClosedException * If the TM has called open() but has not called replay(). * Also thrown if log is actually closed. * Check the toString() for details. * * @see org.objectweb.howl.log.Logger#put(byte[][], boolean) */ public long put(byte[][] data, boolean sync) throws LogClosedException, LogRecordSizeException, LogFileOverflowException, InterruptedException, IOException { checkPutEnabled(); // wait for overflow notification processor to finish. onpWait(); return put(LogRecordType.USER, data, sync); }