org.codehaus.wadi.core.contextualiser
Class HashingCollapser

java.lang.Object
  extended by org.codehaus.wadi.core.contextualiser.HashingCollapser
All Implemented Interfaces:
Collapser

public class HashingCollapser
extends java.lang.Object
implements Collapser

A lock Collapser that collapses according to hash code

Version:
$Revision: 2415 $
Author:
Jules Gosnell

Constructor Summary
HashingCollapser(int numSyncs, long timeout)
           
 
Method Summary
 java.util.concurrent.locks.Lock getLock(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashingCollapser

public HashingCollapser(int numSyncs,
                        long timeout)
Method Detail

getLock

public java.util.concurrent.locks.Lock getLock(java.lang.String id)
Specified by:
getLock in interface Collapser


Copyright © 2008. All Rights Reserved.