Re: LE.2.1 Characteristics of a Lease

Gregg Wonderly <[email protected]> Thu, 10 Jul 2008 10:05:11 -0500
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
John McClain - Sun Microsystems, Inc. wrote:
> Gregg Wonderly wrote:
>> Okay, I'm not sure I see the scenario where this wouldn't be tree if I 
>> remove the if above and just always do
>>
>>     le.expTime = now + inc;
> 
> Your are right, it is not a problem if maxLeaseDuration is fixed ( it is 
> an issue for us because in most our implementations maxLeaseDuration is 
> configurable and thus might change over a lease's lifetime, Reggie takes 
>  this a steep further and dynamically varies the max lease duration it 
> is willing to grant based on load).

So do you think that there would be a need for a Landlord implementation that 
encompassed all of these different aspects to help people who need to create 
leases have an easier time getting started? :-)

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 [email protected]