public class ManualResetEvent extends Object
| Constructor and Description |
|---|
ManualResetEvent(boolean signalled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSignalled() |
void |
reset() |
void |
set() |
void |
waitOne() |
boolean |
waitOne(int timeout,
TimeUnit unit) |
public void set()
public void reset()
public void waitOne()
throws InterruptedException
InterruptedExceptionpublic boolean waitOne(int timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionpublic boolean isSignalled()
Copyright © 2015. All Rights Reserved.