com.atlassian.jira.concurrent
Interface BarrierFactory

All Known Implementing Classes:
BarrierFactoryImpl, MockBarrierFactory

@Internal
public interface BarrierFactory

Manager for Barrier instances.

Since:
v5.2

Method Summary
 Barrier getBarrier(String barrierName)
          Returns the Barrier with the given name, creating one if necessary.
 

Method Detail

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.