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

void qdbm::Villa::store ( byte[]  key,
byte[]  val,
boolean  replace 
) throws VillaException [inline]

Store a record.

key a byte array of a key.
val a byte array of a value.
replace whether the existing value is to be overwritten or not.
VillaException if an error occurs or replace is cancelled.

Reimplemented from qdbm::ADBM.

Definition at line 682 of file Villa.java.

References DKEEP, DOVER, and put().

    put(key, val, replace ? DOVER : DKEEP);

Generated by  Doxygen 1.6.0   Back to index