:: com :: sun :: star :: util ::
|
unpublished |
interface XLockable |
|
|
|
- Usage Restrictions
- not published
- Description
- allows locking a component
lock and unlock calls can be nested. However, they must be in
pairs. As long as there has been one more call to lock than to unlock , the
component is considered locked, which is reflected by isLocked returning true.
|
Methods' Summary |
lock |
locks the component
|
unlock |
unlocks the component
|
isLocked |
determines whether the component is currently locked.
|
Methods' Details |
lock
|
unlock
- Description
- unlocks the component
- Throws
- NotLockedException
if the component is not currently locked.
- See also
- lock, isLocked
|
|
isLocked
- Description
- determines whether the component is currently locked.
- See also
- lock, unlock
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.