<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.rmi.dgc.VMID
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.rmi.dgc.html">This Package</a>  <a href="java.rmi.dgc.Lease.html#_top_">Previous</a>  <a href="Package-java.rmi.dgc.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.rmi.dgc.VMID
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.rmi.dgc.VMID
</pre>
<hr>
<dl>
  <dt> public final class <b>VMID</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.io.Serializable.html#_top_">Serializable</a>
</dl>
A VMID is a identifier that is unique across all Java virtual
 machines.  VMIDs are used by the distributed garbage collector
 to identify client VMs.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VMID()"><b>VMID</b></a>()
  <dd>  Create a new VMID.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#equals(java.lang.Object)"><b>equals</b></a>(Object)
  <dd>  Compare this VMID to another, and return true if they are the
 same identifier.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#hashCode()"><b>hashCode</b></a>()
  <dd>  Compute hash code for this VMID.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isUnique()"><b>isUnique</b></a>()
  <dd>  Return true if an accurate address can be determined for this
 host.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd>  Return string representation of this VMID.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="VMID"></a>
<a name="VMID()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>VMID</b>
<pre>
 public VMID()
</pre>
<dl>
  <dd> Create a new VMID.  Each new VMID returned from this constructor
 is unique for all Java virtual machines under the following
 conditions: a) the conditions for uniqueness for objects of
 the class <b>java.rmi.server.UID</b> are satisfied, and b) an
 address can be obtained for this host that is unique and constant
 for the lifetime of this object.  <p>
 The static method <b>isUnique</b> can be invoked to determine
 if an accurate address can be obtained for this host.
<p>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="isUnique()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isUnique"><b>isUnique</b></a>
<pre>
 public static boolean isUnique()
</pre>
<dl>
  <dd> Return true if an accurate address can be determined for this
 host.  If false, reliable VMID cannot be generated from this host
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> true if host address can be determined, false otherwise
  </dl></dd>
</dl>
<a name="hashCode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="hashCode"><b>hashCode</b></a>
<pre>
 public int hashCode()
</pre>
<dl>
  <dd> Compute hash code for this VMID.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#hashCode()">hashCode</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="equals(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="equals"><b>equals</b></a>
<pre>
 public boolean equals(<a href="java.lang.Object.html#_top_">Object</a> obj)
</pre>
<dl>
  <dd> Compare this VMID to another, and return true if they are the
 same identifier.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#equals(java.lang.Object)">equals</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> toString()
</pre>
<dl>
  <dd> Return string representation of this VMID.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#toString()">toString</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.rmi.dgc.html">This Package</a>  <a href="java.rmi.dgc.Lease.html#_top_">Previous</a>  <a href="Package-java.rmi.dgc.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
