Package com.helix.core.stream.disruptor
Class RuleEventHolder.MutableRuleEvent
java.lang.Object
com.helix.api.stream.RuleEvent
com.helix.core.stream.disruptor.RuleEventHolder.MutableRuleEvent
- Enclosing class:
RuleEventHolder
Pre-allocated mutable RuleEvent that avoids heap allocation in steady-state streaming.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.helix.api.stream.RuleEvent
RuleEvent.Builder -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MutableRuleEvent
public MutableRuleEvent()
-
-
Method Details
-
set
public void set(String eventId, String topic, String ruleName, ExecutionContext context, long timestamp) -
clear
public void clear() -
getEventId
- Overrides:
getEventIdin classRuleEvent
-
getTopic
-
getRuleName
- Overrides:
getRuleNamein classRuleEvent
-
getContext
- Overrides:
getContextin classRuleEvent
-
getTimestamp
public long getTimestamp()- Overrides:
getTimestampin classRuleEvent
-