DbEnv.log_compare

APIRef

import com.sleepycat.db.*;

public static int log_compare(DbLsn lsn0, DbLsn lsn1);

Description

The DbEnv.log_compare method allows the caller to compare two DbLsn objects, returning 0 if they are equal, 1 if lsn0 is greater than lsn1, and -1 if lsn0 is less than lsn1.

Class

DbEnv

See Also

DbEnv.set_lg_bsize, DbEnv.set_lg_dir, DbEnv.set_lg_max, DbEnv.set_lg_regionmax, DbEnv.log_archive, DbEnv.log_compare, DbEnv.log_file, DbEnv.log_flush, DbEnv.log_get, DbEnv.log_put, DbEnv.log_register, DbEnv.log_stat, and DbEnv.log_unregister.

APIRef

Copyright Sleepycat Software