org.jgroups.util
Class NullSync

java.lang.Object
  extended by org.jgroups.util.NullSync
All Implemented Interfaces:
EDU.oswego.cs.dl.util.concurrent.Sync

public class NullSync
extends java.lang.Object
implements EDU.oswego.cs.dl.util.concurrent.Sync

Version:
$Id: NullSync.java,v 1.1 2005/04/08 08:52:44 belaban Exp $
Author:
Bela Ban

Field Summary
 
Fields inherited from interface EDU.oswego.cs.dl.util.concurrent.Sync
ONE_CENTURY, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR
 
Constructor Summary
NullSync()
           
 
Method Summary
 void acquire()
           
 boolean attempt(long l)
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSync

public NullSync()
Method Detail

acquire

public void acquire()
             throws java.lang.InterruptedException
Specified by:
acquire in interface EDU.oswego.cs.dl.util.concurrent.Sync
Throws:
java.lang.InterruptedException

attempt

public boolean attempt(long l)
                throws java.lang.InterruptedException
Specified by:
attempt in interface EDU.oswego.cs.dl.util.concurrent.Sync
Throws:
java.lang.InterruptedException

release

public void release()
Specified by:
release in interface EDU.oswego.cs.dl.util.concurrent.Sync


Copyright ? 1998-2006 Bela Ban. All Rights Reserved.