Interface HistoryManager.HistoricalElement
- All Known Implementing Classes:
AbstractHistorical,AbstractHistoricalCollection,AbstractHistoricalList,AbstractHistoricalMap,AbstractHistoricalNavigableMap,AbstractHistoricalNavigableSet,AbstractHistoricalQueue,AbstractHistoricalSortedMap,AbstractHistoricalSortedSet,HistoricalArrayList,HistoricalEnumMap,HistoricalHashMap,HistoricalHashSet,HistoricalLinkedHashMap,HistoricalLinkedHashSet,HistoricalLinkedList,HistoricalParameters,HistoricalPriorityQueue,HistoricalTreeMap,HistoricalTreeSet,HistoricalValue,HistoricalVector
- Enclosing class:
- HistoryManager
public static interface HistoryManager.HistoricalElement
Historical view for the history manager.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 1 feb. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description voidcleanUpHistory(Duration history)Removes events that are no longer needed to guarantee the history time.
-
Method Details
-
cleanUpHistory
Removes events that are no longer needed to guarantee the history time. This is invoked by the history manager.- Parameters:
history- Duration; history time to keep
-