Lines Matching defs:id

77      * @param id the group's identifier
80 public ActivationGroupImpl(ActivationGroupID id, MarshalledObject<?> data)
83 super(id);
84 groupID = id;
123 * Obtains a lock on the ActivationID id before returning. Allows only one
124 * thread at a time to hold a lock on a particular id. If the lock for id
126 * id will wait for the id to be notified and use the supplied id as the
128 * method" to release the lock and "notifyAll" waiters for the id lock
132 * acquireLock(id);
133 * // do stuff pertaining to id...
135 * releaseLock(id);
139 private void acquireLock(ActivationID id) {
146 int index = lockedIDs.indexOf(id);
148 lockedIDs.add(id);
162 * don't wait on an id that won't be notified.
177 * Releases the id lock obtained via the "acquireLock" method and then
180 private void releaseLock(ActivationID id) {
182 id = lockedIDs.remove(lockedIDs.indexOf(id));
185 synchronized (id) {
186 id.notifyAll();
202 * @param id the object's activation identifier
207 newInstance(final ActivationID id,
217 acquireLock(id);
223 ActiveEntry entry = active.get(id);
269 return constructor.newInstance(id,
296 active.put(id, entry);
315 releaseLock(id);
347 * @param id the object's activation identifier
357 public boolean inactiveObject(ActivationID id)
362 acquireLock(id);
368 ActiveEntry entry = active.get(id);
381 super.inactiveObject(id);
385 active.remove(id);
388 releaseLock(id);
432 * @param id the object's identifier
437 public void activeObject(ActivationID id, Remote impl)
442 acquireLock(id);
447 if (!active.contains(id)) {
449 active.put(id, entry);
452 super.activeObject(id, entry.mobj);
458 releaseLock(id);