Class TransactionHistory
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TransactionElement>
,Collection<TransactionElement>
,List<TransactionElement>
,RandomAccess
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(TransactionElement element) void
addToHistory
(TransactionType updateType, Object object) void
addToHistory
(TransactionType updateType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, org.opendaylight.yangtools.yang.binding.DataObject dataObject) protected void
removeRange
(int fromIndex, int toIndex) Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
TransactionHistory
public TransactionHistory(int initialCapacity, int watermark)
-
-
Method Details
-
addToHistory
-
addToHistory
public void addToHistory(TransactionType updateType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier iid, org.opendaylight.yangtools.yang.binding.DataObject dataObject) -
add
- Specified by:
add
in interfaceCollection<TransactionElement>
- Specified by:
add
in interfaceList<TransactionElement>
- Overrides:
add
in classArrayList<TransactionElement>
-
getElements
-
removeRange
protected void removeRange(int fromIndex, int toIndex) - Overrides:
removeRange
in classArrayList<TransactionElement>
-