Package 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
Modifier and TypeMethodDescriptiongetBarrier
(String barrierName) Returns theBarrier
with the given name, creating one if necessary.
-
Method Details
-
getBarrier
Returns theBarrier
with the given name, creating one if necessary.- Parameters:
barrierName
- a String containing the barrier name- Returns:
- a Barrier
-