Package com.atlassian.jira.dev.backdoor
Class BarrierBackdoor
java.lang.Object
com.atlassian.jira.dev.backdoor.BarrierBackdoor
@Consumes("application/json")
@Produces("application/json")
@Path("/barrier")
public class BarrierBackdoor
extends Object
Backdoor for manipulating barriers remotely.
- Since:
- v5.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLowers the barrier with the given name.voidlowerThenRaise(String name) Lower the barrier with the given name to allow waiting threads through, then immediately raise it again.voidRaises the barrier with the given name.
-
Constructor Details
-
BarrierBackdoor
-
-
Method Details
-
raise
Raises the barrier with the given name. -
lower
Lowers the barrier with the given name. -
lowerThenRaise
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.
-