object Batch extends HasProtocolVersionedSerializerCompanion[Batch[Envelope[_]]] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Batch
  2. Serializable
  3. HasProtocolVersionedSerializerCompanion
  4. HasProtocolVersionedWrapperCompanion
  5. HasSupportedProtoVersions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type DataByteString = ByteString
  2. type Deserializer = Unit
  3. type OriginalByteString = ByteString
  4. type Serializer = (Batch[Envelope[_]]) => ByteString
    Definition Classes
    HasSupportedProtoVersions
  5. sealed abstract case class SupportedProtoVersions extends Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  6. case class VersionedProtoConverter(fromInclusive: RepresentativeProtocolVersion[ValueClass], deserializer: Deserializer, serializer: Serializer) extends Product with Serializable

    Supported protobuf version

    Supported protobuf version

    fromInclusive

    The protocol version when this protobuf version was introduced

    deserializer

    Deserialization method

    serializer

    Serialization method

    Definition Classes
    HasSupportedProtoVersions

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[Env <: Envelope[_]](envelopes: List[Env], protocolVersion: ProtocolVersion): Batch[Env]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def batchClosedEnvelopesFromByteString(bytes: ByteString): ParsingResult[Batch[ClosedEnvelope]]
  7. def batchClosedEnvelopesFromProtoVersioned(batchProto: VersionedMessage[Batch[ClosedEnvelope]]): ParsingResult[Batch[ClosedEnvelope]]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def closeEnvelopes[T <: ProtocolMessage](batch: Batch[OpenEnvelope[T]]): Batch[ClosedEnvelope]
  10. def empty[Env <: Envelope[_]](protocolVersion: ProtocolVersion): Batch[Env]

    Constructs a batch with no envelopes

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def filterClosedEnvelopesFor(batch: Batch[ClosedEnvelope], member: Member): Batch[ClosedEnvelope]
  14. def filterOpenEnvelopesFor[T <: ProtocolMessage](batch: Batch[OpenEnvelope[T]], member: Member): Batch[OpenEnvelope[T]]
  15. def fromClosed(protocolVersion: ProtocolVersion, envelopes: ClosedEnvelope*): Batch[ClosedEnvelope]
    Annotations
    @VisibleForTesting()
  16. def fromProtoV0[Env <: Envelope[_]](envelopeDeserializer: (protocol.v0.Envelope) => ParsingResult[Env])(batchProto: CompressedBatch): ParsingResult[Batch[Env]]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val name: String

    The name of the class as used for pretty-printing and error reporting

    The name of the class as used for pretty-printing and error reporting

    Definition Classes
    BatchHasProtocolVersionedWrapperCompanionHasSupportedProtoVersions
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def of[M <: ProtocolMessage](protocolVersion: ProtocolVersion, envs: (M, Recipients)*): Batch[OpenEnvelope[M]]
  25. def protobufVersionFor(protocolVersion: ProtocolVersion): ProtobufVersion

    Return the Protobuf version corresponding to the protocol version

    Return the Protobuf version corresponding to the protocol version

    Definition Classes
    HasSupportedProtoVersions
  26. def protobufVersionFor(protocolVersion: RepresentativeProtocolVersion[Batch[Envelope[_]]]): ProtobufVersion

    Return the Protobuf version corresponding to the representative protocol version

    Return the Protobuf version corresponding to the representative protocol version

    Definition Classes
    HasSupportedProtoVersions
  27. def protocolVersionRepresentativeFor(protoVersion: ProtobufVersion): RepresentativeProtocolVersion[Batch[Envelope[_]]]
    Definition Classes
    HasSupportedProtoVersions
  28. def protocolVersionRepresentativeFor(protocolVersion: ProtocolVersion): RepresentativeProtocolVersion[Batch[Envelope[_]]]
    Definition Classes
    HasSupportedProtoVersions
  29. val supportedProtoVersions: SupportedProtoVersions

    Proto versions that are supported by fromProtoVersioned and fromByteString See the helper supportedProtoVersion below to define a Parser.

    Proto versions that are supported by fromProtoVersioned and fromByteString See the helper supportedProtoVersion below to define a Parser.

    Definition Classes
    BatchHasSupportedProtoVersions
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def versionedProtoConverter[Env <: Envelope[_]](envelopeType: String): HasVersionedMessageWithContextCompanion[Batch[Env], (protocol.v0.Envelope) => ParsingResult[Env]] { ... /* 2 definitions in type refinement */ }
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. object SupportedProtoVersions extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  37. object VersionedProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped