Serialized Form
Package com.sun.jini.lease |
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- If serialFormat is DURATION, add the current time to the expiration,
to make it absolute (and if the result of the addition is negative,
correct the overflow by resetting the expiration to Long.MAX_VALUE).
writeObject
private void writeObject(java.io.ObjectOutputStream stream)
throws java.io.IOException
- Serial Data:
- a long, which is the absolute expiration if serialFormat
is ABSOLUTE, or the relative duration if serialFormat is DURATION
serialFormat
int serialFormat
- Serialization format for the expiration.
map
java.util.Map map
- Map from Lease to Long(duration), where all leases have the same
destination.
ex
java.lang.Exception ex
- The exception that caused the failure, if any.
expiration
long expiration
- The desired expiration of the failed lease.
lease
net.jini.core.lease.Lease lease
- The failed lease.
Package com.sun.jini.lease.landlord |
denied
java.lang.Exception[] denied
- The
i
th -1 in granted
was denied because of denied[i]
. If nothing was denied,
this field is null
.
granted
long[] granted
- For each cookie passed to
renewAll
,
granted[i]
is the granted lease time, or -1 if the
renewal for that least generated an exception. If there was
an exception, the exception is held in denied
.
- See Also:
Landlord.RenewResults.denied
cookie
java.lang.Object cookie
- Object passed to
landlord
when renewal and cancel
calls are make on this lease. Should uniquely identify the lease.
landlord
Landlord landlord
- Owner of the resource associated with this lease.
landlord
Landlord landlord
- The landlord which this map will talk to.
Package com.sun.jini.lookup.entry |
type
java.lang.String type
- The type of service.
Copyright © 1999 Sun Microsystems, Inc. All rights reserved