Package akka.serialization
Interface BaseSerializer
-
- All Superinterfaces:
Serializer
- All Known Implementing Classes:
ByteArraySerializer
,ByteStringSerializer
,ClusterMessageSerializer
,IntSerializer
,JavaSerializer
,LongSerializer
,MessageContainerSerializer
,MessageSerializer
,MessageSerializer
,MiscMessageSerializer
,PayloadSerializer
,ProtobufSerializer
,ReplicatedDataSerializer
,ReplicatorMessageSerializer
,ServiceKeySerializer
,SnapshotSerializer
,StringSerializer
,SystemMessageSerializer
,TestJavaSerializer
public interface BaseSerializer extends Serializer
Base serializer trait with serialization identifiers configuration contract, when globally unique serialization identifier is configured in thereference.conf
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
akka$serialization$BaseSerializer$_setter_$identifier_$eq(int x$1)
Globally unique serialization identifier configured in thereference.conf
.int
identifier()
Globally unique serialization identifier configured in thereference.conf
.int
identifierFromConfig()
INTERNAL APIjava.lang.String
SerializationIdentifiers()
Configuration namespace of serialization identifiers in thereference.conf
.ExtendedActorSystem
system()
Actor system which is required by most serializer implementations.-
Methods inherited from interface akka.serialization.Serializer
fromBinary, fromBinary, fromBinary, includeManifest, toBinary
-
-
-
-
Method Detail
-
akka$serialization$BaseSerializer$_setter_$identifier_$eq
void akka$serialization$BaseSerializer$_setter_$identifier_$eq(int x$1)
Globally unique serialization identifier configured in thereference.conf
.See
Serializer.identifier
.
-
system
ExtendedActorSystem system()
Actor system which is required by most serializer implementations.
-
SerializationIdentifiers
java.lang.String SerializationIdentifiers()
Configuration namespace of serialization identifiers in thereference.conf
.Each serializer implementation must have an entry in the following format:
akka.actor.serialization-identifiers."FQCN" = ID
whereFQCN
is fully qualified class name of the serializer implementation andID
is globally unique serializer identifier number.
-
identifier
int identifier()
Globally unique serialization identifier configured in thereference.conf
.See
Serializer.identifier
.- Specified by:
identifier
in interfaceSerializer
-
identifierFromConfig
int identifierFromConfig()
INTERNAL API
-
-