Class DisabledJavaSerializer

    • Constructor Detail

    • Method Detail

      • identifier

        public int identifier()
        Description copied from interface: Serializer
        Completely 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:
        identifier in interface Serializer
        Returns:
        (undocumented)
      • includeManifest

        public boolean includeManifest()
        Description copied from interface: Serializer
        Returns whether this serializer needs a manifest in the fromBinary method
        Specified by:
        includeManifest in interface Serializer
        Returns:
        (undocumented)
      • toBinary

        public void toBinary​(java.lang.Object o,
                             java.nio.ByteBuffer buf)
        Description copied from interface: ByteBufferSerializer
        Serializes the given object into the ByteBuffer.
        Specified by:
        toBinary in interface ByteBufferSerializer
        Parameters:
        o - (undocumented)
        buf - (undocumented)
      • fromBinary

        public java.lang.Object fromBinary​(byte[] bytes,
                                           scala.Option<java.lang.Class<?>> clazz)
                                    throws java.io.NotSerializableException
        Description copied from interface: Serializer
        Produces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.
        Specified by:
        fromBinary in interface Serializer
        Parameters:
        bytes - (undocumented)
        clazz - (undocumented)
        Returns:
        (undocumented)
        Throws:
        java.io.NotSerializableException
      • fromBinary

        public java.lang.Object fromBinary​(java.nio.ByteBuffer buf,
                                           java.lang.String manifest)
                                    throws java.io.NotSerializableException
        Description copied from interface: ByteBufferSerializer
        Produces an object from a ByteBuffer, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.
        Specified by:
        fromBinary in interface ByteBufferSerializer
        Parameters:
        buf - (undocumented)
        manifest - (undocumented)
        Returns:
        (undocumented)
        Throws:
        java.io.NotSerializableException
      • toBinary

        public byte[] toBinary​(java.lang.Object o)
        Description copied from interface: Serializer
        Serializes the given object into an Array of Byte
        Specified by:
        toBinary in interface Serializer
        Parameters:
        o - (undocumented)
        Returns:
        (undocumented)
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object