SharedStateOptions
class SharedStateOptions @InternalWowApi constructor(val capacity: Int = DEFAULT_CAPACITY, val ttl: Duration = DEFAULT_TTL, val maxBytes: Long = DEFAULT_MAX_BYTES)
The bounds of a context's SharedStates: at most capacity views, holding at most maxBytes of serialized state (a few aggregates with states of hundreds of kilobytes would otherwise take gigabytes within the count), none older than ttl. The host configures them (wow.shared-states.*).
Fields may be added: Wow builds it from the host's configuration, so the constructor is internal to Wow.