Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

void Villa::sync (  )  throws VillaException [inline]

Synchronize updating contents with the file and the device.

Exceptions:
VillaException if an error occurs.
Note:
This method is useful when another process uses the connected database file. This method should not be used while the transaction is activated.

Definition at line 496 of file Villa.java.

References index.

                                           {
    if(index < 0) throw new VillaException();
    synchronized(ADBM.class){
      if(vlsync(index) == 0) throw new VillaException(vlecode());
    }
  }


Generated by  Doxygen 1.6.0   Back to index