|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.DeformedLeaseList
class DeformedLeaseList
DeformedLeaseList
provides a list for keeping track of
of client lease that could not be fully recovered during log
recovery. Unless otherwise noted all the methods in the class are
not thread safe.
Field Summary | |
---|---|
private Set |
leases
A list of all the leases we are tracking. |
Constructor Summary | |
---|---|
DeformedLeaseList()
|
Method Summary | |
---|---|
(package private) void |
add(ClientLeaseWrapper clw)
Add a wrapped client lease to the list of deformed client leases. |
(package private) ClientLeaseWrapper |
query(Lease clientLease,
Map table)
Query the list to see if the specified client lease is in this list of deformed leases. |
(package private) void |
remove(ClientLeaseWrapper clw)
Remove a lease from the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Set leases
Constructor Detail |
---|
DeformedLeaseList()
Method Detail |
---|
void add(ClientLeaseWrapper clw)
clw
- a deformed client leasevoid remove(ClientLeaseWrapper clw)
clw
- a deformed client leaseClientLeaseWrapper query(Lease clientLease, Map table)
clientLease
- the client lease which may be
referenced by a deformed client lease wrappertable
- a table mapping client leases to client lease
wrappers. Any client lease wrappers encountered during
the query that are no longer deformed will be placed in
this table. It is assumed that no other thread is trying
to access this table.
cl
, null
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |