Searched refs:VMID (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/java/rmi/dgc/
H A DLease.java38 private VMID vmid;
49 * Constructs a lease with a specific VMID and lease duration. The
51 * @param id VMID associated with this lease
54 public Lease(VMID id, long duration)
61 * Returns the client VMID associated with the lease.
62 * @return client VMID
64 public VMID getVMID()
H A DVMID.java32 * A VMID is a identifier that is unique across all Java virtual
39 public final class VMID implements java.io.Serializable { class in inherits:java.io.Serializable
65 * Create a new VMID. Each new VMID returned from this constructor
72 public VMID() { method in class:VMID
79 * host. If false, reliable VMID cannot be generated from this host
89 * Compute hash code for this VMID.
96 * Compare this VMID to another, and return true if they are the
100 if (obj instanceof VMID) {
101 VMID vmi
[all...]
H A DDGC.java35 * its VMID). A corresponding clean call is made when no more
57 * 'ids'. The 'lease' contains a client's unique VM identifier (VMID)
61 * is granted, the garbage collector adds the client's VMID to the
68 * Some clients are unable to generate a VMID, since a VMID is a
71 * restrictions. In this case, a client can use a VMID of null,
72 * and the distributed garbage collector will assign a VMID for
75 * The dirty call returns a Lease object that contains the VMID
78 * client requests). A client must use the VMID the garbage
109 * @param vmid client VMID
[all...]
/openjdk7/jdk/test/java/rmi/dgc/VMID/
H A DCheckVMID.java28 * address in a VMID, a secure hash (using SHA) of the IP
37 import java.rmi.dgc.VMID;
49 System.err.println("Create a VMID");
50 VMID vmid = new VMID();
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DDGCImpl.java31 import java.rmi.dgc.VMID;
86 /** table that maps VMID to LeaseInfo */
87 private Map<VMID,LeaseInfo> leaseTable = new HashMap<>();
106 * The dirty call adds the VMID "vmid" to the set of clients
109 * the VMID "vmid" is null, a VMID will be generated on the
119 VMID vmid = lease.getVMID();
130 // create a VMID if one wasn't supplied
132 vmid = new VMID();
176 // return the VMID use
[all...]
H A DTarget.java29 import java.rmi.dgc.VMID;
56 private final Vector<VMID> refSet = new Vector<>();
58 private final Hashtable<VMID, SequenceEntry> sequenceTable =
243 synchronized void referenced(long sequenceNum, VMID vmid) {
281 synchronized void unreferenced(long sequenceNum, VMID vmid, boolean strong)
306 synchronized private void refSetRemove(VMID vmid) {
370 Enumeration<VMID> enum_ = refSet.elements();
372 VMID vmid = enum_.nextElement();
444 synchronized public void vmidDead(VMID vmid) {
H A DObjectTable.java30 import java.rmi.dgc.VMID;
229 static void referenced(ObjID id, long sequenceNum, VMID vmid) {
245 static void unreferenced(ObjID id, long sequenceNum, VMID vmid,
H A DDGCClient.java41 import java.rmi.dgc.VMID;
84 private static VMID vmid = new VMID();

Completed in 50 milliseconds