|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Lockable
A resource (or collection of resources) that can be locked. Important Note: This interface is not intended to be implemented by client applications. We reserve the right to add methods in the future. Applications that implement this interface may not be compatible with future versions of the StarTeam SDK.
| Method Summary | |
|---|---|
void |
lockExclusive()
Obtains an exclusive lock on this resource without attempting to break an existing lock. |
void |
lockExclusive(boolean breakLock)
Obtains an exclusive lock on this resource. |
void |
lockNonExclusive()
Obtains a non-exclusive lock on this resource without attempting to break an existing lock. |
void |
unlock()
Removes the current user's lock from this resource. |
| Method Detail |
|---|
void lockExclusive()
void lockExclusive(boolean breakLock)
breakLock - true to break an existing exclusive lock owned by another uservoid lockNonExclusive()
void unlock()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||