org.codehaus.wadi.impl
Class HashingCollapser
java.lang.Object
org.codehaus.wadi.impl.HashingCollapser
- All Implemented Interfaces:
- Collapser
- public class HashingCollapser
- extends Object
- implements Collapser
A lock Collapser that collapses according to hash code
- Version:
- $Revision: 1139 $
- Author:
- Jules Gosnell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
protected final Log _log
_numSyncs
protected final int _numSyncs
_syncs
protected final Sync[] _syncs
_timeout
protected final long _timeout
HashingCollapser
public HashingCollapser(int numSyncs,
long timeout)
getLock
public Sync getLock(String id)
- Specified by:
getLock
in interface Collapser
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.