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. case class LegacyProtoConverter(fromInclusive: RepresentativeProtocolVersion[ValueClass], deserializer: Deserializer, serializer: Serializer) extends ProtoCodec with Product with Serializable

    Used to (de)serialize classes which for legacy reasons where not wrapped in VersionedMessage Chances are this is NOT the class you want to use, use VersionedProtoConverter instead when adding serialization to a new class

    Used to (de)serialize classes which for legacy reasons where not wrapped in VersionedMessage Chances are this is NOT the class you want to use, use VersionedProtoConverter instead when adding serialization to a new class

    Definition Classes
    HasSupportedProtoVersions
  6. sealed trait ProtoCodec extends AnyRef

    Base class for (de)serializating from/to protobuf of ValueClass from a specific PV

    Base class for (de)serializating from/to protobuf of ValueClass from a specific PV

    Definition Classes
    HasSupportedProtoVersions
  7. case class SupportedProtoVersions extends Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  8. case class VersionedProtoConverter(fromInclusive: RepresentativeProtocolVersion[ValueClass], deserializer: Deserializer, serializer: Serializer) extends ProtoCodec with Product with Serializable

    Supported Proto version

    Supported Proto version

    fromInclusive

    The protocol version when this Proto 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 deserializeForVersion(rpv: RepresentativeProtocolVersion[Batch[Envelope[_]]], deserializeLegacyProto: (Deserializer) => ParsingResult[Batch[Envelope[_]]], deserializeVersionedProto: => ParsingResult[Batch[Envelope[_]]]): ParsingResult[Batch[Envelope[_]]]
    Attributes
    protected
    Definition Classes
    HasProtocolVersionedWrapperCompanion
  11. def empty[Env <: Envelope[_]](protocolVersion: ProtocolVersion): Batch[Env]

    Constructs a batch with no envelopes

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def filterClosedEnvelopesFor(batch: Batch[ClosedEnvelope], member: Member): Batch[ClosedEnvelope]
  15. def filterOpenEnvelopesFor[T <: ProtocolMessage](batch: Batch[OpenEnvelope[T]], member: Member): Batch[OpenEnvelope[T]]
  16. def fromClosed(protocolVersion: ProtocolVersion, envelopes: ClosedEnvelope*): Batch[ClosedEnvelope]
    Annotations
    @VisibleForTesting()
  17. def fromProtoV0[Env <: Envelope[_]](envelopeDeserializer: (protocol.v0.Envelope) => ParsingResult[Env])(batchProto: CompressedBatch, maxRequestSize: MaxRequestSizeToDeserialize): ParsingResult[Batch[Env]]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. 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
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def of[M <: ProtocolMessage](protocolVersion: ProtocolVersion, envs: (M, Recipients)*): Batch[OpenEnvelope[M]]
  26. def openEnvelopes(batch: Batch[ClosedEnvelope])(protocolVersion: ProtocolVersion, hashOps: HashOps): (Batch[OpenEnvelope[ProtocolMessage]], Seq[ProtoDeserializationError])
  27. def protoVersionFor(protocolVersion: ProtocolVersion): ProtoVersion

    Return the Proto version corresponding to the protocol version

    Return the Proto version corresponding to the protocol version

    Definition Classes
    HasSupportedProtoVersions
  28. def protoVersionFor(protocolVersion: RepresentativeProtocolVersion[Batch[Envelope[_]]]): ProtoVersion

    Return the Proto version corresponding to the representative protocol version

    Return the Proto version corresponding to the representative protocol version

    Definition Classes
    HasSupportedProtoVersions
  29. def protocolVersionRepresentativeFor(protoVersion: ProtoVersion): RepresentativeProtocolVersion[Batch[Envelope[_]]]
    Definition Classes
    HasSupportedProtoVersions
  30. def protocolVersionRepresentativeFor(protocolVersion: ProtocolVersion): RepresentativeProtocolVersion[Batch[Envelope[_]]]
    Definition Classes
    HasSupportedProtoVersions
  31. 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
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def versionedProtoConverter[Env <: Envelope[_]](envelopeType: String): HasVersionedMessageWithContextCompanion[Batch[Env], (protocol.v0.Envelope) => ParsingResult[Env]] { ... /* 2 definitions in type refinement */ }
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. object LegacyProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  39. object SupportedProtoVersions extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  40. 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