org.codehaus.wadi.gridstate.impl
Class StupidLockManager
java.lang.Object
org.codehaus.wadi.gridstate.impl.StupidLockManager
- All Implemented Interfaces:
- LockManager
- public class StupidLockManager
- extends Object
- implements LockManager
Creates and reuses, on-the-fly, a lock for a given Key, but will never destroy the lock - temporary solution...
- Author:
- jules
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
protected static final Log _log
_prefix
protected String _prefix
_syncs
protected Map _syncs
StupidLockManager
public StupidLockManager(String prefix)
acquire
public Sync acquire(Object key)
- Specified by:
acquire
in interface LockManager
acquire
public Sync acquire(Object key,
Object value)
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.