public final class ReadWriteSynchronizedExecutor extends Object
Calls to readExecute(...) methods:
ReadWriteLock
Calls to writeExecute(...) methods:
ReadWriteLock
Calling threads might be suspended.
Constructor and Description |
---|
ReadWriteSynchronizedExecutor()
|
Modifier and Type | Method and Description |
---|---|
void |
readExecute(Runnable task)
|
<R> R |
readExecute(Supplier<R> task)
|
void |
writeExecute(Runnable task)
|
<R> R |
writeExecute(Supplier<R> task)
|
Copyright © 2016. All rights reserved.