com.sun.jini.jeri.internal.runtime
Class Lease
java.lang.Object
com.sun.jini.jeri.internal.runtime.Lease
class Lease
- extends Object
- Since:
- 2.2.0
- Author:
- Peter Firmstone.
Constructor Summary |
Lease(Uuid clientID,
long duration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clientID
private final Uuid clientID
notifySet
private final Set<Target> notifySet
expiration
private long expiration
lockForRemoval
private volatile boolean lockForRemoval
Lease
Lease(Uuid clientID,
long duration)
getClientID
Uuid getClientID()
renew
boolean renew(long duration)
notifyIfExpired
boolean notifyIfExpired(long now)
remove
void remove(Target target)
add
boolean add(Target target)
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.