com.echomine.util
Interface Sync

All Known Implementing Classes:
Semaphore

public interface Sync

Base class for the thread lock mechanisms.


Method Summary
 void acquire()
           
 boolean attempt(long msec)
           
 void release()
           
 

Method Detail

acquire

void acquire()
             throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

release

void release()

attempt

boolean attempt(long msec)
                throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException


Copyright © 2001-2005 Echomine. All Rights Reserved.