Package akka.serialization
Class DisabledJavaSerializer
- java.lang.Object
- 
- akka.serialization.DisabledJavaSerializer
 
- 
- All Implemented Interfaces:
- ByteBufferSerializer,- Serializer,- java.io.Serializable,- scala.Equals,- scala.Product
 
 public final class DisabledJavaSerializer extends java.lang.Object implements Serializer, ByteBufferSerializer, scala.Product, java.io.Serializable This Serializer is used whenakka.actor.java-serialization = off- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDisabledJavaSerializer.JavaSerializationException
 - 
Constructor SummaryConstructors Constructor Description DisabledJavaSerializer(ExtendedActorSystem system)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisabledJavaSerializerapply(ExtendedActorSystem system)booleancanEqual(java.lang.Object x$1)DisabledJavaSerializercopy(ExtendedActorSystem system)ExtendedActorSystemcopy$default$1()booleanequals(java.lang.Object x$1)java.lang.ObjectfromBinary(byte[] bytes, scala.Option<java.lang.Class<?>> clazz)Produces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.java.lang.ObjectfromBinary(java.nio.ByteBuffer buf, java.lang.String manifest)Produces an object from aByteBuffer, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.inthashCode()intidentifier()Completely unique value to identify this implementation of Serializer, used to optimize network traffic.static DisabledJavaSerializer.JavaSerializationExceptionIllegalDeserialization()static DisabledJavaSerializer.JavaSerializationExceptionIllegalSerialization()booleanincludeManifest()Returns whether this serializer needs a manifest in the fromBinary methodintproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()ExtendedActorSystemsystem()byte[]toBinary(java.lang.Object o)Serializes the given object into an Array of Byte.voidtoBinary(java.lang.Object o, java.nio.ByteBuffer buf)Serializes the given object into theByteBuffer.java.lang.StringtoString()static scala.Option<ExtendedActorSystem>unapply(DisabledJavaSerializer x$0)- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface akka.serialization.SerializerfromBinary, fromBinary
 
- 
 
- 
- 
- 
Constructor Detail- 
DisabledJavaSerializerpublic DisabledJavaSerializer(ExtendedActorSystem system) 
 
- 
 - 
Method Detail- 
IllegalSerializationpublic static final DisabledJavaSerializer.JavaSerializationException IllegalSerialization() 
 - 
IllegalDeserializationpublic static final DisabledJavaSerializer.JavaSerializationException IllegalDeserialization() 
 - 
applypublic static DisabledJavaSerializer apply(ExtendedActorSystem system) 
 - 
unapplypublic static scala.Option<ExtendedActorSystem> unapply(DisabledJavaSerializer x$0) 
 - 
systempublic ExtendedActorSystem system() 
 - 
identifierpublic int identifier() Description copied from interface:SerializerCompletely unique value to identify this implementation of Serializer, used to optimize network traffic. Values from 0 to 40 are reserved for Akka internal usage.- Specified by:
- identifierin interface- Serializer
 
 - 
includeManifestpublic boolean includeManifest() Description copied from interface:SerializerReturns whether this serializer needs a manifest in the fromBinary method- Specified by:
- includeManifestin interface- Serializer
 
 - 
toBinarypublic void toBinary(java.lang.Object o, java.nio.ByteBuffer buf)Description copied from interface:ByteBufferSerializerSerializes the given object into theByteBuffer.- Specified by:
- toBinaryin interface- ByteBufferSerializer
 
 - 
fromBinarypublic java.lang.Object fromBinary(byte[] bytes, scala.Option<java.lang.Class<?>> clazz) throws java.io.NotSerializableExceptionDescription copied from interface:SerializerProduces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.- Specified by:
- fromBinaryin interface- Serializer
- Throws:
- java.io.NotSerializableException
 
 - 
fromBinarypublic java.lang.Object fromBinary(java.nio.ByteBuffer buf, java.lang.String manifest) throws java.io.NotSerializableExceptionDescription copied from interface:ByteBufferSerializerProduces an object from aByteBuffer, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.- Specified by:
- fromBinaryin interface- ByteBufferSerializer
- Throws:
- java.io.NotSerializableException
 
 - 
toBinarypublic byte[] toBinary(java.lang.Object o) Description copied from interface:SerializerSerializes the given object into an Array of Byte.Note that the array must not be mutated by the serializer after it has been returned. - Specified by:
- toBinaryin interface- Serializer
 
 - 
copypublic DisabledJavaSerializer copy(ExtendedActorSystem system) 
 - 
copy$default$1public ExtendedActorSystem copy$default$1() 
 - 
productPrefixpublic java.lang.String productPrefix() - Specified by:
- productPrefixin interface- scala.Product
 
 - 
productAritypublic int productArity() - Specified by:
- productArityin interface- scala.Product
 
 - 
productElementpublic java.lang.Object productElement(int x$1) - Specified by:
- productElementin interface- scala.Product
 
 - 
productIteratorpublic scala.collection.Iterator<java.lang.Object> productIterator() - Specified by:
- productIteratorin interface- scala.Product
 
 - 
canEqualpublic boolean canEqual(java.lang.Object x$1) - Specified by:
- canEqualin interface- scala.Equals
 
 - 
productElementNamepublic java.lang.String productElementName(int x$1) - Specified by:
- productElementNamein interface- scala.Product
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object x$1) - Specified by:
- equalsin interface- scala.Equals
- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-