Package org.onosproject.store.service
Class AtomicValueEvent<V>
- java.lang.Object
- 
- org.onosproject.store.service.AtomicValueEvent<V>
 
- 
- Type Parameters:
- V- atomic value type
 
 public final class AtomicValueEvent<V> extends java.lang.ObjectRepresentation of a AtomicValue update notification.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAtomicValueEvent.TypeAtomicValueEvent type.
 - 
Constructor SummaryConstructors Constructor Description AtomicValueEvent(java.lang.String name, V newValue, V oldValue)Creates a new event object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.Stringname()Returns the AtomicValue name.VnewValue()Returns the newly set value.VoldValue()Returns the old replaced value.java.lang.StringtoString()AtomicValueEvent.Typetype()Returns the type of the event.
 
- 
- 
- 
Method Detail- 
namepublic java.lang.String name() Returns the AtomicValue name.- Returns:
- name of atomic value
 
 - 
typepublic AtomicValueEvent.Type type() Returns the type of the event.- Returns:
- the type of the event
 
 - 
newValuepublic V newValue() Returns the newly set value.- Returns:
- the new value
 
 - 
oldValuepublic V oldValue() Returns the old replaced value.- Returns:
- the old value
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-