Class CustomPortable

  • All Implemented Interfaces:
    com.hazelcast.nio.serialization.Portable

    public class CustomPortable
    extends java.lang.Object
    implements com.hazelcast.nio.serialization.Portable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getClassId()  
      java.util.Map<java.lang.String,​java.lang.Object> getData()  
      int getFactoryId()  
      void readPortable​(com.hazelcast.nio.serialization.PortableReader reader)  
      void setData​(java.util.Map<java.lang.String,​java.lang.Object> data)  
      void writePortable​(com.hazelcast.nio.serialization.PortableWriter writer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFactoryId

        public int getFactoryId()
        Specified by:
        getFactoryId in interface com.hazelcast.nio.serialization.Portable
      • getClassId

        public int getClassId()
        Specified by:
        getClassId in interface com.hazelcast.nio.serialization.Portable
      • writePortable

        public void writePortable​(com.hazelcast.nio.serialization.PortableWriter writer)
                           throws java.io.IOException
        Specified by:
        writePortable in interface com.hazelcast.nio.serialization.Portable
        Throws:
        java.io.IOException
      • readPortable

        public void readPortable​(com.hazelcast.nio.serialization.PortableReader reader)
                          throws java.io.IOException
        Specified by:
        readPortable in interface com.hazelcast.nio.serialization.Portable
        Throws:
        java.io.IOException
      • getData

        public java.util.Map<java.lang.String,​java.lang.Object> getData()
      • setData

        public void setData​(java.util.Map<java.lang.String,​java.lang.Object> data)