com.hs.mail.util
Class ObjectLocker
java.lang.Object
com.hs.mail.util.ObjectLocker
public class ObjectLocker
- extends Object
- Since:
- Dec 12, 2005
- Author:
- Won Chul Doh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAX_WAIT
public static final long DEFAULT_MAX_WAIT
- See Also:
- Constant Field Values
DEFAULT_MIN_EVICTABLE_TIME_MILLIS
public static final long DEFAULT_MIN_EVICTABLE_TIME_MILLIS
- See Also:
- Constant Field Values
DEFAULT_QUEUE_SIZE
public static final int DEFAULT_QUEUE_SIZE
- See Also:
- Constant Field Values
_maxWait
protected long _maxWait
_minEvictableTimeMillis
protected long _minEvictableTimeMillis
_queueSize
protected int _queueSize
ObjectLocker
public ObjectLocker()
lock
public void lock(Object o)
throws Exception
- Throws:
Exception
unlock
public void unlock(Object o)
Copyright © 2011. All Rights Reserved.