Package com.fauna.event
Provides classes for managing and interacting with Event Feeds and Event Streams.
This package includes core components and utilities for handling event streaming, such as options, requests, and response handling mechanisms.
EventSource
- Represents an event source.FaunaEvent
- Defines an event.FaunaStream
- Processes events from an Event Stream, decoding them intoFaunaEvent
instances.FeedIterator
- Enables iteration through pages of events in an Event Feed.FeedOptions
- Specifies configuration options for managing Event Feed pagination and timeout.FeedPage
- Represents a paginated events in an Event Feed, including metadata like cursor and statistics.FeedRequest
- Constructs a request for Fauna's Event Feed HTTP API endpoint.StreamOptions
- Specified configuration options for an Event Stream, such as cursor, retry strategy, and timeout settings.StreamRequest
- Constructs a request for Fauna's Event Stream HTTP API endpoint.
The classes in this package are designed to support Fauna Event Feeds and Event Streams.
-
Class Summary Class Description EventSource Represents an event source.FaunaEvent<E> Represents an event emitted in an Event Feed or Event Stream.FaunaEvent.Builder<E> Builder class for constructing aFaunaEvent
instance.FaunaStream<E> A processor for handling and decoding Fauna Event Streams.FeedIterator<E> FeedIterator iterates over Event Feed pages from Fauna.FeedOptions Represents the options for configuring an Event Feed request in Fauna.FeedOptions.Builder Builder class for constructingFeedOptions
instances.FeedPage<E> Represents a page of events from an Event Feed.FeedPage.Builder<E> Builder class for constructingFeedPage
instances.FeedRequest Represents an Event Feed request from Fauna.StreamOptions Represents configuration options for a Fauna Event Stream.StreamOptions.Builder Builder class for constructingStreamOptions
instances.StreamRequest Defines the request body for interacting with the Fauna /stream endpoint. -
Enum Summary Enum Description FaunaEvent.EventType Enum representing possible event types from a Fauna event source.