01: package org.jgroups.util;
02:
03: import EDU.oswego.cs.dl.util.concurrent.Sync;
04:
05: /**
06: * @author Bela Ban
07: * @version $Id: NullSync.java,v 1.1 2005/04/08 08:52:44 belaban Exp $
08: */
09: public class NullSync implements Sync {
10:
11: public void acquire() throws InterruptedException {
12: }
13:
14: public boolean attempt(long l) throws InterruptedException {
15: return true;
16: }
17:
18: public void release() {
19: }
20: }
|