Interface EventCompactor
- All Known Implementing Classes:
SlidingWindowEventCompactor, TailRetentionEventCompactor
public interface EventCompactor
Base interface for compacting events.
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Completablecompact(Session session, BaseSessionService sessionService) Compacts events in the given session.
-
Method Details
-
compact
Compacts events in the given session. If there is compaction happened, the new compaction event will be appended to the givenBaseSessionService.- Parameters:
session- the session containing the events to be compacted.sessionService- the session service for appending the new compaction event.- Returns:
- the
Eventcontaining the events summary.
-