diff options
Diffstat (limited to 'bdb/docs/api_java/env_set_server.html')
-rw-r--r-- | bdb/docs/api_java/env_set_server.html | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/bdb/docs/api_java/env_set_server.html b/bdb/docs/api_java/env_set_server.html deleted file mode 100644 index a0ffeefe35f..00000000000 --- a/bdb/docs/api_java/env_set_server.html +++ /dev/null @@ -1,77 +0,0 @@ -<!--"@(#)env_set_server.so 10.13 (Sleepycat) 8/25/99"--> -<!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--> -<!--All rights reserved.--> -<html> -<head> -<title>Berkeley DB: DbEnv.set_server</title> -<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> -<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"> -</head> -<body bgcolor=white> - <a name="2"><!--meow--></a> -<table><tr valign=top> -<td> -<h1>DbEnv.set_server</h1> -</td> -<td width="1%"> -<a href="../api_java/java_index.html"><img src="../images/api.gif" alt="API"></a><a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a> -</td></tr></table> -<hr size=1 noshade> -<tt> -<h3><pre> -import com.sleepycat.db.*; -<p> -public void set_server(String host, - long cl_timeout, long sv_timeout, int flags) - throws DbException; -</pre></h3> -<h1>Description</h1> -<p>Connects to the DB server on the indicated hostname and sets up a channel -for communication. -<p>The <b>cl_timeout</b> argument specifies the number of seconds the client -should wait for results to come back from the server. Once the timeout -has expired on any communication with the server, Db.DB_NOSERVER will -be returned. If this value is zero, a default timeout is used. -<p>The <b>sv_timeout</b> argument specifies the number of seconds the server -should allow a client connection to remain idle before assuming that -client is gone. Once that timeout has been reached, the server releases -all resources associated with that client connection. Subsequent attempts -by that client to communicate with the server result in -Db.DB_NOSERVER_ID indicating that an invalid identifier has been -given to the server. This value can be considered a hint to the server. -The server may alter this value based on its own policies or allowed -values. If this value is zero, a default timeout is used. -<p>The <b>flags</b> parameter is currently unused, and must be set to 0. -<p>When the DbEnv.set_server method has been called, any subsequent calls -to Berkeley DB library interfaces may return either <a name="DB_NOSERVER">DB_NOSERVER</a> or -<a name="DB_NOSERVER_ID">DB_NOSERVER_ID</a>. -<p>The DbEnv.set_server method throws an exception that encapsulates a non-zero error value on -failure. -<h3>Errors</h3> -<p><dl compact> -<p><dt>EINVAL<dd>An invalid flag value or parameter was specified. -<p>dbenv_set_server -</dl> -<h3>Class</h3> -<a href="../api_java/dbenv_class.html">DbEnv</a> -<h1>See Also</h1> -<a href="../api_java/env_close.html">DbEnv.close</a>, -<a href="../api_java/env_open.html">DbEnv.open</a>, -<a href="../api_java/env_remove.html">DbEnv.remove</a>, -<a href="../api_java/env_strerror.html">DbEnv.strerror</a>, -<a href="../api_java/env_version.html">DbEnv.get_version_string</a> -<a href="../api_java/env_set_cachesize.html">DbEnv.set_cachesize</a>, -<a href="../api_java/env_set_errcall.html">DbEnv.set_errcall</a>, -<a href="../api_java/env_set_error_stream.html">DbEnv.set_error_stream</a>, -<a href="../api_java/env_set_errpfx.html">DbEnv.set_errpfx</a>, -<a href="../api_java/env_set_flags.html">DbEnv.set_flags</a>, -<a href="../api_java/env_set_mutexlocks.html">DbEnv.set_mutexlocks</a>, -and -<a href="../api_java/env_set_verbose.html">DbEnv.set_verbose</a>. -</tt> -<table><tr><td><br></td><td width="1%"> -<a href="../api_java/java_index.html"><img src="../images/api.gif" alt="API"></a><a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a> -</td></tr></table> -<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font> -</body> -</html> |