Interface WindowAssigner

All Known Implementing Classes:
WindowAssigner.Natural, WindowAssigner.Raw, WindowAssigner.Tumbling

public sealed interface WindowAssigner permits WindowAssigner.Tumbling, WindowAssigner.Raw, WindowAssigner.Natural
Maps an event timestamp to the start of its window. Implementations are pure: assignWindow(long) depends only on its input and the assigner's fields, so concurrent shards compute identical window keys without coordination.