Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.util
Interface WaitSync

All Superinterfaces:
  Sync

All Known Implementing Classes:
  WaitSemaphore

public interface WaitSync
extends Sync

Interface that gives wait - notify primitives to implementors.

Version:
  $Revision: 1.1 $
Author:
  Simone Bordet
See Also:
  `Semaphore`

Method Summary
`void` | `doNotify()` Wakes up this sync that has been posed in wait status by a `doWait()` call.
`void` | `doWait()` Pone in wait status this sync, until `doNotify()` is called to wake it up.

Methods inherited from interface org.jboss.util.Sync
`acquire, release`

Method Detail

### doWait

    public void doWait()
                throws InterruptedException

  Pone in wait status this sync, until `doNotify()` is called to wake it up.

  Throws:
    `InterruptedException`
  See Also:
    `doNotify()`

### doNotify

    public void doNotify()
                  throws InterruptedException

  Wakes up this sync that has been posed in wait status by a `doWait()` call. If this sync is not waiting, invoking this method should have no effect.

  Throws:
    `InterruptedException`
  See Also:
    `doWait()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.