public interface Trigger
void disarm()
This method is safe to call from any thread.
boolean isArmed()
This method is safe to call from any thread.
true
indicates that this trigger is armed, false
indicates that it has been disarmed with a call to
disarm()
.