Modifier and Type | Field and Description |
---|---|
protected Runnable |
delegate |
protected CountDownLatch |
latch |
Constructor and Description |
---|
CompletionSignalingRunnable(Runnable delegate,
CountDownLatch latch) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
static CompletionSignalingRunnable |
wrap(Runnable runnable,
CountDownLatch latch) |
protected Runnable delegate
protected CountDownLatch latch
public CompletionSignalingRunnable(Runnable delegate, CountDownLatch latch)
public static CompletionSignalingRunnable wrap(Runnable runnable, CountDownLatch latch)
Copyright © 2021. All rights reserved.