|
Openfire 3.4.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockFactory
Factory that creates new Locks for specified keys and keeps them in memory until they are no longer needed.
Method Summary | |
---|---|
Lock |
getLock(Object key)
Returns an existing lock on the specified key or creates a new one if none was found. |
Method Detail |
---|
Lock getLock(Object key)
key
- the object that defines the visibility or scope of the lock.
|
Openfire 3.4.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |