Package org.acemq.workloads.scenario
Interface Node
- All Known Implementing Classes:
ConsumerGroupNode,ExchangeNode,ProducerNode,QueueNode
public interface Node
Something in a scenario that can be switched off without being removed.
The switch is the point. "What happens if this consumer stops" is the question people run these things to answer, and answering it by deleting the consumer loses what you were about to put back — along with its prefetch, its handler time, and the reason somebody wrote them down.
-
Method Summary
-
Method Details
-
name
String name()- Returns:
- what this node is called
-
isEnabled
boolean isEnabled()- Returns:
- whether it takes part in the run
-