public class GoodToGo extends Object
Used as a way to give feedback that the listener is ready for the caller to change the blob. By calling @{link GoodToGo#getLatch()} the listener indicates that it wants to block changing the blob until the CountDownLatch is triggered with a call to @{link CountDownLatch#countDown()}.
Modifier and Type | Class and Description |
---|---|
static class |
GoodToGo.GoodToGoLatch |
Constructor and Description |
---|
GoodToGo(CountDownLatch latch,
Future<Void> doneChanging) |
Modifier and Type | Method and Description |
---|---|
GoodToGo.GoodToGoLatch |
getLatch()
Get the latch and indicate that you want to block the blob being changed.
|
public GoodToGo(CountDownLatch latch, Future<Void> doneChanging)
public GoodToGo.GoodToGoLatch getLatch()
Get the latch and indicate that you want to block the blob being changed.
Copyright © 2020 The Apache Software Foundation. All rights reserved.