DbEnv::set_rep_limit |
#include <db_cxx.h>int DbEnv::set_rep_limit(u_int32_t gbytes, u_int32_t bytes);
int DbEnv::get_rep_limit(u_int32_t *gbytesp, u_int32_t *bytesp);
The DbEnv::set_rep_limit method imposes a byte-count limit on the amount of data that will be transmitted from a site in a single call to DbEnv::rep_process_message method.
The DbEnv::set_rep_limit method configures a database environment, not only operations performed using the specified DbEnv handle.
The DbEnv::set_rep_limit method may not be called before the DbEnv::open method has been called.
The DbEnv::set_rep_limit method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.
The DbEnv::get_rep_limit method may be called at any time during the life of the application.
The DbEnv::get_rep_limit method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.