Interface CompactionTrigger
- All Known Implementing Classes:
CompositeCompactionTrigger,TokenCountTrigger,TurnCountTrigger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Decides whether a session's active view is compacted.
- Since:
- 2.1.0
- Author:
- Christian Tzolov
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldCompact(CompactionRequest request) Whether the view should be compacted now.
-
Method Details
-
shouldCompact
Whether the view should be compacted now.
-