public class Lock
extends java.lang.Object
A simple class acting as lock.
Instances of this class are used by some configuration classes to synchronize themselves.
| Constructor and Description |
|---|
Lock(java.lang.String name)
Creates a new instance of
Lock with the specified name. |
public Lock(java.lang.String name)
Lock with the specified name.name - the name of this lockpublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2013. All Rights Reserved.