Class AbstractReplicatedMap.MapMessage

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Enclosing class:
    AbstractReplicatedMap<K,​V>

    public static class AbstractReplicatedMap.MapMessage
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    See Also:
    Serialized Form
    • Constructor Detail

      • MapMessage

        public MapMessage​(byte[] mapId,
                          int msgtype,
                          boolean diff,
                          java.io.Serializable key,
                          java.io.Serializable value,
                          byte[] diffvalue,
                          Member primary,
                          Member[] nodes)
    • Method Detail

      • toString

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

        public java.lang.String getTypeDesc()
      • deserialize

        public void deserialize​(java.lang.ClassLoader[] cls)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getMsgType

        public int getMsgType()
      • isDiff

        public boolean isDiff()
      • getKey

        public java.io.Serializable getKey()
      • key

        public java.io.Serializable key​(java.lang.ClassLoader[] cls)
                                 throws java.io.IOException,
                                        java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getKeyData

        public byte[] getKeyData()
      • getValue

        public java.io.Serializable getValue()
      • value

        public java.io.Serializable value​(java.lang.ClassLoader[] cls)
                                   throws java.io.IOException,
                                          java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getValueData

        public byte[] getValueData()
      • getDiffValue

        public byte[] getDiffValue()
      • getBackupNodes

        public Member[] getBackupNodes()
      • getPrimary

        public Member getPrimary()
      • getMapId

        public byte[] getMapId()
      • setValue

        public void setValue​(java.io.Serializable value)
      • setKey

        public void setKey​(java.io.Serializable key)