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

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

Optimize the database.

VillaException if an error occurs.
In an alternating succession of deleting and storing with overwrite or concatenate, dispensable regions accumulate. This method is useful to do away with them. This method should not be used while the transaction is activated.

Definition at line 509 of file Villa.java.

References index.

    if(index < 0) throw new VillaException();
      if(vloptimize(index) == 0) throw new VillaException(vlecode());

Generated by  Doxygen 1.6.0   Back to index