public interface Sync
Semaphore
Modifier and Type | Method and Description |
---|---|
void |
acquire()
Acquires this sync
|
void |
release()
Releases this sync
|
void acquire() throws InterruptedException
InterruptedException
release()
void release()
acquire()
Copyright © 2018 JBoss by Red Hat. All rights reserved.