Class TransactionHistory
java.lang.Object
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TransactionElement>
,Collection<TransactionElement>
,List<TransactionElement>
,RandomAccess
,SequencedCollection<TransactionElement>
- 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.binding.DataObject dataObject) protected void
removeRange
(int fromIndex, int toIndex) Methods inherited from class java.util.ArrayList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, 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, reversed
-
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.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>
-