-
1. Re: lease
tom.elrod Jun 30, 2006 2:12 PM (in response to mazz)That's pretty much it. Right on with the client having a period in which it needs to ping the server to update its lease with the server. However, the lease period is not an exact one, meaning the actual time period is a sliding window. See http://jira.jboss.com/jira/browse/JBREM-408 for more details on how it works internally.
The other thing is that when client considered dead, will just notify connection listeners that have been registered (if any). Takes no other action. -
2. Re: lease
mazz Jun 30, 2006 2:15 PM (in response to mazz)Is there a standard, default listener installed that closes the connection with the client? Or is it, out of box, a no-op? If I don't have a connection listener, can I therefore ignore the lease stuff and just set it to -1 to not use it?
-
3. Re: lease
tom.elrod Jun 30, 2006 2:18 PM (in response to mazz)There is no connection listeners by default. Have to be added manually by user. Leasing will be disabled until at least one connection listener is registered (and turns off after all are removed).