Update of /cvsroot/jrobin/src/org/jrobin/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30557/org/jrobin/core
Modified Files:
RrdBackend.java RrdFileBackend.java RrdMemoryBackend.java
RrdNioBackend.java
Log Message:
minor changes
Index: RrdBackend.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdBackend.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** RrdBackend.java 2 Jun 2004 07:20:12 -0000 1.6
--- RrdBackend.java 29 Jun 2004 09:02:22 -0000 1.7
***************
*** 188,192 ****
* @throws IOException Thrown in case of I/O error
*/
! protected void sync() throws IOException {
}
--- 188,192 ----
* @throws IOException Thrown in case of I/O error
*/
! public void sync() throws IOException {
}
Index: RrdNioBackend.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdNioBackend.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** RrdNioBackend.java 2 Jun 2004 07:20:13 -0000 1.7
--- RrdNioBackend.java 29 Jun 2004 09:02:22 -0000 1.8
***************
*** 43,47 ****
private TimerTask syncTask;
! RrdNioBackend(String path, boolean readOnly, int lockMode, int syncMode, int syncPeriod)
throws IOException {
super(path, readOnly, lockMode);
--- 43,47 ----
private TimerTask syncTask;
! protected RrdNioBackend(String path, boolean readOnly, int lockMode, int syncMode, int syncPeriod)
throws IOException {
super(path, readOnly, lockMode);
***************
*** 116,120 ****
* method is called. In other words, you don't have to call sync() before you call close().<p>
*/
! protected void sync() {
synchronized(byteBuffer) {
// System.out.println("** SYNC **");
--- 116,120 ----
* method is called. In other words, you don't have to call sync() before you call close().<p>
*/
! public void sync() {
synchronized(byteBuffer) {
// System.out.println("** SYNC **");
Index: RrdMemoryBackend.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdMemoryBackend.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RrdMemoryBackend.java 21 May 2004 10:40:50 -0000 1.2
--- RrdMemoryBackend.java 29 Jun 2004 09:02:22 -0000 1.3
***************
*** 34,38 ****
private byte[] buffer = new byte[0];
! RrdMemoryBackend(String path) {
super(path);
}
--- 34,38 ----
private byte[] buffer = new byte[0];
! protected RrdMemoryBackend(String path) {
super(path);
}
Index: RrdFileBackend.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdFileBackend.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RrdFileBackend.java 1 Jun 2004 14:41:01 -0000 1.4
--- RrdFileBackend.java 29 Jun 2004 09:02:22 -0000 1.5
***************
*** 44,48 ****
protected FileLock fileLock;
! RrdFileBackend(String path, boolean readOnly, int lockMode) throws IOException {
super(path);
file = new RandomAccessFile(path, readOnly? "r": "rw");
--- 44,48 ----
protected FileLock fileLock;
! protected RrdFileBackend(String path, boolean readOnly, int lockMode) throws IOException {
super(path);
file = new RandomAccessFile(path, readOnly? "r": "rw");
|