com.atlassian.jira.concurrent
Class BarrierFactoryImpl

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

public class BarrierFactoryImpl
extends Object
implements BarrierFactory

Barrier factory. Caches created barriers indefinitely.

Since:
v5.2

Constructor Summary
BarrierFactoryImpl()
           
 
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

BarrierFactoryImpl

public BarrierFactoryImpl()
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.