MetaStreamsSyntax

sec.syntax.MetaStreamsSyntax

Attributes

Source
metastreams.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ApiSyntax
trait AllSyntax
object all.type
object api.type

Members list

Extensions

Extensions

extension [F[_]](ms: MetaStreams[F])(implicit evidence$4: MonadThrow[F])

Sets truncated before in Long for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Sets truncated before in Long for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Value parameters

expectedState

the state that the stream is expected to in. See StreamState for details.

id

the id of the stream.

truncatedBefore

the truncated before scala.Long value for data in the stream. Valid values are scala.Long greater or equal to 0L. An InvalidInput exception is raised for invalid input value.

Attributes

Source
metastreams.scala
extension [F[_]](ms: MetaStreams[F])(implicit evidence$2: MonadThrow[F])

Sets max count in scala.Int for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Sets max count in scala.Int for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Value parameters

count

the max count scala.Int value for data in the stream. Valid values are greater or equal to 1. An InvalidInput exception is raised for invalid input value.

expectedState

the state that the stream is expected to in. See StreamState for details.

id

the id of the stream.

Attributes

Source
metastreams.scala
extension [F[_]](ms: MetaStreams[F])(implicit evidence$1: MonadThrow[F])

Sets max age in scala.concurrent.duration.FiniteDuration for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Sets max age in scala.concurrent.duration.FiniteDuration for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Value parameters

age

the max age scala.concurrent.duration.FiniteDuration value for data in the stream. Valid values are scala.concurrent.duration.FiniteDuration greater or equal to 1 second. An InvalidInput exception is raised for invalid input value.

expectedState

the state that the stream is expected to in. See StreamState for details.

id

the id of the stream.

Attributes

Source
metastreams.scala
extension [F[_]](ms: MetaStreams[F])(implicit evidence$3: MonadThrow[F])

Sets cache control in scala.concurrent.duration.FiniteDuration for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Sets cache control in scala.concurrent.duration.FiniteDuration for a stream and returns sec.api.WriteResult with current positions of the stream after a successful operation. Failure to fulfill the expected state is manifested by raising sec.api.exceptions.WrongExpectedState.

Value parameters

cacheControl

the cache control scala.concurrent.duration.FiniteDuration value for data in the stream. Valid values are scala.concurrent.duration.FiniteDuration greater or equal to 1 second. An InvalidInput exception is raised for invalid input value.

expectedState

the state that the stream is expected to in. See StreamState for details.

id

the id of the stream.

Attributes

Source
metastreams.scala