Interface Sync

  • All Known Subinterfaces:
    WaitSync
    All Known Implementing Classes:
    Semaphore, WaitSemaphore

    public interface Sync
    Interface that gives synchronization semantic to implementors
    Version:
    $Revision$
    See Also:
    Semaphore
    • Method Detail

      • acquire

        void acquire()
              throws java.lang.InterruptedException
        Acquires this sync
        Throws:
        java.lang.InterruptedException
        See Also:
        release()
      • release

        void release()
        Releases this sync
        See Also:
        acquire()