Class StoreEvent<K,​V>


  • public class StoreEvent<K,​V>
    extends java.lang.Object
    • Constructor Detail

      • StoreEvent

        public StoreEvent​(K key,
                          V oldValue,
                          V newValue)
    • Method Detail

      • set

        public static <K,​V> StoreEvent<K,​V> set​(K key,
                                                            V previousValue,
                                                            V newValue)
      • remove

        public static <K,​V> StoreEvent<K,​V> remove​(K key,
                                                               V previousValue)
      • getKey

        public K getKey()
      • getOldValue

        public V getOldValue()
      • getNewValue

        public V getNewValue()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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