Class ClusterMessageSerializer

    • Constructor Detail

    • Method Detail

      • OldJoinManifest

        public static java.lang.String OldJoinManifest()
      • OldWelcomeManifest

        public static java.lang.String OldWelcomeManifest()
      • OldLeaveManifest

        public static java.lang.String OldLeaveManifest()
      • OldDownManifest

        public static java.lang.String OldDownManifest()
      • OldInitJoinManifest

        public static java.lang.String OldInitJoinManifest()
      • OldInitJoinAckManifest

        public static java.lang.String OldInitJoinAckManifest()
      • OldInitJoinNackManifest

        public static java.lang.String OldInitJoinNackManifest()
      • HeartBeatManifestPre2523

        public static java.lang.String HeartBeatManifestPre2523()
      • HeartBeatRspManifest2523

        public static java.lang.String HeartBeatRspManifest2523()
      • OldExitingConfirmedManifest

        public static java.lang.String OldExitingConfirmedManifest()
      • OldGossipStatusManifest

        public static java.lang.String OldGossipStatusManifest()
      • OldGossipEnvelopeManifest

        public static java.lang.String OldGossipEnvelopeManifest()
      • OldClusterRouterPoolManifest

        public static java.lang.String OldClusterRouterPoolManifest()
      • JoinManifest

        public static java.lang.String JoinManifest()
      • WelcomeManifest

        public static java.lang.String WelcomeManifest()
      • LeaveManifest

        public static java.lang.String LeaveManifest()
      • DownManifest

        public static java.lang.String DownManifest()
      • InitJoinManifest

        public static java.lang.String InitJoinManifest()
      • InitJoinAckManifest

        public static java.lang.String InitJoinAckManifest()
      • InitJoinNackManifest

        public static java.lang.String InitJoinNackManifest()
      • HeartbeatManifest

        public static java.lang.String HeartbeatManifest()
      • HeartbeatRspManifest

        public static java.lang.String HeartbeatRspManifest()
      • ExitingConfirmedManifest

        public static java.lang.String ExitingConfirmedManifest()
      • GossipStatusManifest

        public static java.lang.String GossipStatusManifest()
      • GossipEnvelopeManifest

        public static java.lang.String GossipEnvelopeManifest()
      • ClusterRouterPoolManifest

        public static java.lang.String ClusterRouterPoolManifest()
      • fromBinary

        public java.lang.Object fromBinary​(byte[] bytes,
                                           java.lang.String manifest)
        Description copied from class: SerializerWithStringManifest
        Produces an object from an array of bytes, with an optional type-hint.

        It's recommended to throw java.io.NotSerializableException in fromBinary if the manifest is unknown. This makes it possible to introduce new message types and send them to nodes that don't know about them. This is typically needed when performing rolling upgrades, i.e. running a cluster with mixed versions for while. NotSerializableException is treated as a transient problem in the TCP based remoting layer. The problem will be logged and message is dropped. Other exceptions will tear down the TCP connection because it can be an indication of corrupt bytes from the underlying transport.

        Specified by:
        fromBinary in class SerializerWithStringManifest
      • compress

        public byte[] compress​(akka.protobufv3.internal.MessageLite msg)
      • decompress

        public byte[] decompress​(byte[] bytes)
      • addressToProtoByteArray

        public byte[] addressToProtoByteArray​(Address address)
      • deserializeClusterRouterPool

        public ClusterRouterPool deserializeClusterRouterPool​(byte[] bytes)