Interface BarrierFactory

All Known Implementing Classes:
BarrierFactoryImpl, MockBarrierFactory

@Internal public interface BarrierFactory
Manager for Barrier instances.
Since:
v5.2
  • Method Summary

    Modifier and Type
    Method
    Description
    getBarrier(String barrierName)
    Returns the Barrier with the given name, creating one if necessary.
  • Method Details

    • getBarrier

      @Nonnull Barrier getBarrier(String barrierName)
      Returns the Barrier with the given name, creating one if necessary.
      Parameters:
      barrierName - a String containing the barrier name
      Returns:
      a Barrier