| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 |
<title>Replication Connection Status in the Java API</title> |
| 7 |
<link rel="stylesheet" href="gettingStarted.css" type="text/css" /> |
| 8 |
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 |
<link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" /> |
| 10 |
<link rel="up" href="upgrade_53_toc.html" title="Chapter 9. Upgrading Berkeley DB 11.2.5.2 applications to Berkeley DB 11.2.5.3" /> |
| 11 |
<link rel="prev" href="upgrade_11gr2_53_build_windows.html" title="Changes to the build_windows Folder" /> |
| 12 |
<link rel="next" href="upgrade_11gr2_53_excl.html" title="Exclusive Database Handles" /> |
| 13 |
</head> |
| 14 |
<body> |
| 15 |
<div xmlns="" class="navheader"> |
| 16 |
<div class="libver"> |
| 17 |
<p>Library Version 11.2.5.3</p> |
| 18 |
</div> |
| 19 |
<table width="100%" summary="Navigation header"> |
| 20 |
<tr> |
| 21 |
<th colspan="3" align="center">Replication Connection Status in the Java API</th> |
| 22 |
</tr> |
| 23 |
<tr> |
| 24 |
<td width="20%" align="left"><a accesskey="p" href="upgrade_11gr2_53_build_windows.html">Prev</a> </td> |
| 25 |
<th width="60%" align="center">Chapter 9. |
| 26 |
Upgrading Berkeley DB 11.2.5.2 applications to Berkeley DB 11.2.5.3 |
| 27 |
</th> |
| 28 |
<td width="20%" align="right"> <a accesskey="n" href="upgrade_11gr2_53_excl.html">Next</a></td> |
| 29 |
</tr> |
| 30 |
</table> |
| 31 |
<hr /> |
| 32 |
</div> |
| 33 |
<div class="sect1" lang="en" xml:lang="en"> |
| 34 |
<div class="titlepage"> |
| 35 |
<div> |
| 36 |
<div> |
| 37 |
<h2 class="title" style="clear: both"><a id="upgrade_11gr2_53_conn_status"></a>Replication Connection Status in the Java API</h2> |
| 38 |
</div> |
| 39 |
</div> |
| 40 |
</div> |
| 41 |
<div class="toc"> |
| 42 |
<dl> |
| 43 |
<dt> |
| 44 |
<span class="sect2"> |
| 45 |
<a href="upgrade_11gr2_53_conn_status.html#idp804776">New Function</a> |
| 46 |
</span> |
| 47 |
</dt> |
| 48 |
<dt> |
| 49 |
<span class="sect2"> |
| 50 |
<a href="upgrade_11gr2_53_conn_status.html#idp771568">New Class</a> |
| 51 |
</span> |
| 52 |
</dt> |
| 53 |
<dt> |
| 54 |
<span class="sect2"> |
| 55 |
<a href="upgrade_11gr2_53_conn_status.html#idp809200">Deprecated Function</a> |
| 56 |
</span> |
| 57 |
</dt> |
| 58 |
</dl> |
| 59 |
</div> |
| 60 |
<p> |
| 61 |
The Java function |
| 62 |
<code class="literal">ReplicationManagerSiteInfo.isConnected()</code> is now |
| 63 |
deprecated. To get the replication connection status, use |
| 64 |
<code class="literal">ReplicationManagerSiteInfo.getConnectionStatus()</code>, |
| 65 |
which returns the new class |
| 66 |
<code class="literal">ReplicationManagerConnectionStatus</code>, which has the |
| 67 |
values <code class="literal">CONNECTED</code>, <code class="literal">DISCONNECTED</code>, |
| 68 |
and <code class="literal">UNKNOWN</code>. |
| 69 |
</p> |
| 70 |
<div class="sect2" lang="en" xml:lang="en"> |
| 71 |
<div class="titlepage"> |
| 72 |
<div> |
| 73 |
<div> |
| 74 |
<h3 class="title"><a id="idp804776"></a>New Function</h3> |
| 75 |
</div> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
<div class="itemizedlist"> |
| 79 |
<ul type="disc"> |
| 80 |
<li> |
| 81 |
<code class="literal">ReplicationManagerSiteInfo.getConnectionStatus()</code> |
| 82 |
</li> |
| 83 |
</ul> |
| 84 |
</div> |
| 85 |
</div> |
| 86 |
<div class="sect2" lang="en" xml:lang="en"> |
| 87 |
<div class="titlepage"> |
| 88 |
<div> |
| 89 |
<div> |
| 90 |
<h3 class="title"><a id="idp771568"></a>New Class</h3> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
<div class="itemizedlist"> |
| 95 |
<ul type="disc"> |
| 96 |
<li> |
| 97 |
<code class="literal">ReplicationManagerConnectionStatus</code> |
| 98 |
</li> |
| 99 |
</ul> |
| 100 |
</div> |
| 101 |
</div> |
| 102 |
<div class="sect2" lang="en" xml:lang="en"> |
| 103 |
<div class="titlepage"> |
| 104 |
<div> |
| 105 |
<div> |
| 106 |
<h3 class="title"><a id="idp809200"></a>Deprecated Function</h3> |
| 107 |
</div> |
| 108 |
</div> |
| 109 |
</div> |
| 110 |
<div class="itemizedlist"> |
| 111 |
<ul type="disc"> |
| 112 |
<li> |
| 113 |
<code class="literal">ReplicationManagerSiteInfo.isConnected()</code> |
| 114 |
</li> |
| 115 |
</ul> |
| 116 |
</div> |
| 117 |
</div> |
| 118 |
</div> |
| 119 |
<div class="navfooter"> |
| 120 |
<hr /> |
| 121 |
<table width="100%" summary="Navigation footer"> |
| 122 |
<tr> |
| 123 |
<td width="40%" align="left"><a accesskey="p" href="upgrade_11gr2_53_build_windows.html">Prev</a> </td> |
| 124 |
<td width="20%" align="center"> |
| 125 |
<a accesskey="u" href="upgrade_53_toc.html">Up</a> |
| 126 |
</td> |
| 127 |
<td width="40%" align="right"> <a accesskey="n" href="upgrade_11gr2_53_excl.html">Next</a></td> |
| 128 |
</tr> |
| 129 |
<tr> |
| 130 |
<td width="40%" align="left" valign="top">Changes to the build_windows Folder </td> |
| 131 |
<td width="20%" align="center"> |
| 132 |
<a accesskey="h" href="index.html">Home</a> |
| 133 |
</td> |
| 134 |
<td width="40%" align="right" valign="top"> Exclusive Database Handles </td> |
| 135 |
</tr> |
| 136 |
</table> |
| 137 |
</div> |
| 138 |
</body> |
| 139 |
</html> |