Tries to acquire a lock. This method is optional. Storage containers, for which locking is inappropriate, should always return true.
@return wether a lock could be successfully acquired
@see #releaseLock()
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.