Interface RolloverCondition
- All Known Implementing Classes:
BooleanOrRolloverCondition,ElapsedTimeRolloverCondition,MegabyteCountRolloverCondition
public interface RolloverCondition
Checks a PacketBuffer to determine if a rollover is desired.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(RolloverCondition.Visitor visitor) booleanisRolloverReady(PacketBuffer packetBuffer)
-
Method Details
-
isRolloverReady
- Parameters:
packetBuffer- must be non-null- Returns:
- true if rollover is indicated
-
accept
- Parameters:
visitor- must be non-null
-