public final class DisabledJavaSerializer extends java.lang.Object implements Serializer, ByteBufferSerializer, scala.Product, scala.Serializable
akka.actor.java-serialization = off
Modifier and Type | Class and Description |
---|---|
static class |
DisabledJavaSerializer.JavaSerializationException |
Constructor and Description |
---|
DisabledJavaSerializer(ExtendedActorSystem system) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
abstract static boolean |
equals(java.lang.Object that) |
java.lang.Object |
fromBinary(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.Object |
fromBinary(java.nio.ByteBuffer buf,
java.lang.String manifest)
Produces an object from a
ByteBuffer , with an optional type-hint;
the class should be loaded using ActorSystem.dynamicAccess. |
int |
identifier()
Completely unique value to identify this implementation of Serializer, used to optimize network traffic.
|
static DisabledJavaSerializer.JavaSerializationException |
IllegalDeserialization() |
static DisabledJavaSerializer.JavaSerializationException |
IllegalSerialization() |
boolean |
includeManifest()
Returns whether this serializer needs a manifest in the fromBinary method
|
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
ExtendedActorSystem |
system() |
byte[] |
toBinary(java.lang.Object o)
Serializes the given object into an Array of Byte
|
void |
toBinary(java.lang.Object o,
java.nio.ByteBuffer buf)
Serializes the given object into the
ByteBuffer . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromBinary, fromBinary
public DisabledJavaSerializer(ExtendedActorSystem system)
public static final DisabledJavaSerializer.JavaSerializationException IllegalSerialization()
public static final DisabledJavaSerializer.JavaSerializationException IllegalDeserialization()
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public ExtendedActorSystem system()
public int identifier()
Serializer
identifier
in interface Serializer
public boolean includeManifest()
Serializer
includeManifest
in interface Serializer
public void toBinary(java.lang.Object o, java.nio.ByteBuffer buf)
ByteBufferSerializer
ByteBuffer
.toBinary
in interface ByteBufferSerializer
o
- (undocumented)buf
- (undocumented)public java.lang.Object fromBinary(byte[] bytes, scala.Option<java.lang.Class<?>> clazz)
Serializer
fromBinary
in interface Serializer
bytes
- (undocumented)clazz
- (undocumented)public java.lang.Object fromBinary(java.nio.ByteBuffer buf, java.lang.String manifest)
ByteBufferSerializer
ByteBuffer
, with an optional type-hint;
the class should be loaded using ActorSystem.dynamicAccess.fromBinary
in interface ByteBufferSerializer
buf
- (undocumented)manifest
- (undocumented)public byte[] toBinary(java.lang.Object o)
Serializer
toBinary
in interface Serializer
o
- (undocumented)