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_StartedCommunity Web Site:
http://jini.orgjini-users Archive:
http://archives.java.sun.com/archives/jini-users.htmlUnsubscribing: email "signoff JINI-USERS" to
listserv@...