public class Synchronized extends Object
| Constructor and Description |
|---|
Synchronized() |
| Modifier and Type | Method and Description |
|---|---|
static void |
on(Object syncObj,
Supplier<Boolean> condition,
AutoCloseable action)
Helper that checks the condition before a synchronized block
and once it is entered.
|
Copyright © 2020. All rights reserved.