Package org.agrona.console
Class ContinueBarrier
- java.lang.Object
-
- org.agrona.console.ContinueBarrier
-
public class ContinueBarrier extends java.lang.Object
Barrier to block the calling thread until a command is given on the command line.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
label
-
Constructor Summary
Constructors Constructor Description ContinueBarrier(java.lang.String label)
Create a barrier that will display the provided label and interact viaSystem.out
,System.in
andScanner
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
await()
Await for input that matches the provided command.
-