public class

BarrierBackdoor

extends Object
java.lang.Object
   ↳ com.atlassian.jira.dev.backdoor.BarrierBackdoor

Class Overview

Backdoor for manipulating barriers remotely.

Summary

Public Constructors
BarrierBackdoor(BarrierFactory barrierFactory)
Public Methods
void lower(String name)
Lowers the barrier with the given name.
void lowerThenRaise(String name)
Lower the barrier with the given name to allow waiting threads through, then immediately raise it again.
void raise(String name)
Raises the barrier with the given name.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BarrierBackdoor (BarrierFactory barrierFactory)

Public Methods

public void lower (String name)

Lowers the barrier with the given name.

public void lowerThenRaise (String name)

Lower the barrier with the given name to allow waiting threads through, then immediately raise it again. Waiting threads are only allowed through once. This is useful for stepping through loops that contain a barrier, one iteration at a time.

public void raise (String name)

Raises the barrier with the given name.