public class

MockBarrierFactory

extends Object
implements BarrierFactory
java.lang.Object
   ↳ com.atlassian.jira.concurrent.MockBarrierFactory

Class Overview

Mock BarrierFactory implementation.

Summary

Public Constructors
MockBarrierFactory()
Public Methods
@Nonnull Barrier getBarrier(String barrierName)
Returns the Barrier with the given name, creating one if necessary.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.concurrent.BarrierFactory

Public Constructors

public MockBarrierFactory ()

Public Methods

@Nonnull public 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