« Return to Thread: LE.2.1 Characteristics of a Lease

Re: LE.2.1 Characteristics of a Lease

by Gregg Wonderly-2 :: Rate this Message:

Reply to Author | View in Thread

Bob Scheifler wrote:
>> Is it possible for a lease renewal to extend the expiry time beyond
>> what the granter returned via Lease.getExpiration()'s value at the
>> time the Lease is created?
>
> Yes, that's pretty much the purpose of lease renewal.

Okay, so a lease, is open ended.  So the only way to expire the lease, is to
always return a relatively short duration in the granted leases initial
expiration.  It is possible, for an upper bound to be enforced by the Landlord,
but practically, that's not what should be done in most cases, right?

Gregg Wonderly

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to listserv@...

 « Return to Thread: LE.2.1 Characteristics of a Lease