|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LeaseIfc
A lease is used to track message exipration. It contains the object to be leased, the duration and the object to callback if or when the lease expirex
Method Summary | |
---|---|
long |
getDuration()
Returns the duration of the lease. |
long |
getExpiryTime()
Return the absolute expiry time of this lease. |
java.lang.Object |
getLeasedObject()
Returns the leased object. |
long |
getRemainingTime()
Returns the time remaining on the lease. |
Method Detail |
---|
long getExpiryTime()
long getDuration()
long getRemainingTime()
java.lang.Object getLeasedObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |