Interface EventCompactor
- All Known Implementing Classes:
SlidingWindowEventCompactor, TailRetentionEventCompactor
public interface EventCompactor
用于压缩事件的数据结构的基础接口。
-
方法概述
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Completablecompact(Session session, BaseSessionService sessionService) 将给定会话中的事件压缩在一起。
-
方法详细信息(Method Details)
-
compact
压缩给定会话中的事件。如果发生了压缩操作,新的压缩事件将会被添加到该会话中。BaseSessionService.- 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.
-