Package org.apache.storm.localizer

# Class GoodToGo

java.lang.Object
org.apache.storm.localizer.GoodToGo

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()}.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `GoodToGo.GoodToGoLatch`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GoodToGo(CountDownLatch latch, Future<Void> doneChanging)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `GoodToGo.GoodToGoLatch`
  `getLatch()`
  Get the latch and indicate that you want to block the blob being changed.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GoodToGo

    public GoodToGo(CountDownLatch latch, Future<Void> doneChanging)

- ## Method Details

  - ### getLatch

    public GoodToGo.GoodToGoLatch getLatch()
    Get the latch and indicate that you want to block the blob being changed.
    Returns:
      the latch to use when you are ready.