com.atlassian.jira.concurrent
Class MockBarrierFactory

java.lang.Object
  extended by com.atlassian.jira.concurrent.MockBarrierFactory
All Implemented Interfaces:
BarrierFactory

public class MockBarrierFactory
extends Object
implements BarrierFactory

Mock BarrierFactory implementation.


Constructor Summary
MockBarrierFactory()
           
 
Method Summary
 Barrier getBarrier(String barrierName)
          Returns the Barrier with the given name, creating one if necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockBarrierFactory

public MockBarrierFactory()
Method Detail

getBarrier

@Nonnull
public Barrier getBarrier(String barrierName)
Description copied from interface: BarrierFactory
Returns the Barrier with the given name, creating one if necessary.

Specified by:
getBarrier in interface BarrierFactory
Parameters:
barrierName - a String containing the barrier name
Returns:
a Barrier


Copyright © 2002-2013 Atlassian. All Rights Reserved.