From: Sasa M. <sa...@us...> - 2004-05-30 10:16:09
|
Update of /cvsroot/jrobin/src/org/jrobin/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/org/jrobin/core Modified Files: RrdNioBackendFactory.java Log Message: minor bug Index: RrdNioBackendFactory.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdNioBackendFactory.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RrdNioBackendFactory.java 30 May 2004 10:06:48 -0000 1.3 --- RrdNioBackendFactory.java 30 May 2004 10:16:00 -0000 1.4 *************** *** 36,40 **** /** See {@link #setSyncMode(int) for explanation } */ ! public static final int SYNC_DEFAULT = 0; // will sync() only on close() /** See {@link #setSyncMode(int) for explanation } */ public static final int SYNC_BEFOREUPDATE = 1; --- 36,40 ---- /** See {@link #setSyncMode(int) for explanation } */ ! public static final int SYNC_ONCLOSE = 0; // will sync() only on close() /** See {@link #setSyncMode(int) for explanation } */ public static final int SYNC_BEFOREUPDATE = 1; *************** *** 57,61 **** * in the persistent storage (disk file). * ! * @return Integer representing current synchronization mode (SYNC_DEFAULT, * SYNC_BEFOREUPDATE, SYNC_AFTERUPDATE, SYNC_BEFOREFETCH, SYNC_AFTERFETCH or * SYNC_BACKGROUND). See {@link #setSyncMode(int)} for full explanation of these return values. --- 57,61 ---- * in the persistent storage (disk file). * ! * @return Integer representing current synchronization mode (SYNC_ONCLOSE, * SYNC_BEFOREUPDATE, SYNC_AFTERUPDATE, SYNC_BEFOREFETCH, SYNC_AFTERFETCH or * SYNC_BACKGROUND). See {@link #setSyncMode(int)} for full explanation of these return values. *************** *** 70,74 **** * @param syncMode Desired synchronization mode. Possible values are:<p> * <ul> ! * <li>SYNC_DEFAULT: synchronization will be performed only when {@link RrdDb#close()} * is called (RRD file is closed) or when {@link RrdDb#sync()} method is called. * <li>SYNC_BEFOREUPDATE: synchronization will be performed before each {@link Sample#update()} --- 70,74 ---- * @param syncMode Desired synchronization mode. Possible values are:<p> * <ul> ! * <li>SYNC_ONCLOSE: synchronization will be performed only when {@link RrdDb#close()} * is called (RRD file is closed) or when {@link RrdDb#sync()} method is called. * <li>SYNC_BEFOREUPDATE: synchronization will be performed before each {@link Sample#update()} |