|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SemiLease
Lease which can be used to either cancel or renew the held object, if possible. The lease is intended to be used on the same VM only, and can therefore not be transferred anywhere.
Method Summary | |
---|---|
boolean |
cancel()
Return true if operation was a success |
long |
getHolderId()
|
boolean |
renew(long duration)
Return true if operation was a success |
Method Detail |
---|
boolean cancel()
boolean renew(long duration)
long getHolderId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |