Class AntiEntropyAdvertisement<K>


  • public class AntiEntropyAdvertisement<K>
    extends java.lang.Object
    Anti-entropy advertisement message for eventually consistent map.
    • Constructor Summary

      Constructors 
      Constructor Description
      AntiEntropyAdvertisement​(org.onosproject.cluster.NodeId sender, java.util.Map<K,​MapValue.Digest> digest)
      Creates a new anti entropy advertisement message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<K,​MapValue.Digest> digest()
      Returns the digest for map entries.
      org.onosproject.cluster.NodeId sender()
      Returns the sender's node ID.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AntiEntropyAdvertisement

        public AntiEntropyAdvertisement​(org.onosproject.cluster.NodeId sender,
                                        java.util.Map<K,​MapValue.Digest> digest)
        Creates a new anti entropy advertisement message.
        Parameters:
        sender - the sender's node ID
        digest - for map entries
    • Method Detail

      • sender

        public org.onosproject.cluster.NodeId sender()
        Returns the sender's node ID.
        Returns:
        the sender's node ID
      • digest

        public java.util.Map<K,​MapValue.Digest> digest()
        Returns the digest for map entries.
        Returns:
        mapping from key to associated digest
      • toString

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