|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for text related objects which may be used in the multi-threaded context and thus must provide a way to prevent concurrent access and manipulation.
In order to reduce the probability of dead locks clients should synchronize their access to these objects by using the provided lock object rather than the object itself.
Managing objects can use the setLockObject method in order to synchronize whole sets of objects.
Method Summary | |
Object | getLockObject()
Returns the lock object or null if there is none. |
void | setLockObject(Object lockObject)
Sets the lock object for this object. |
Method Detail |
public void setLockObject(Object lockObject)
public Object getLockObject()
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.