Class MappingMergeUtil
java.lang.Object
org.opendaylight.lispflowmapping.implementation.util.MappingMergeUtil
Utility class to implement merging of locator sets.
- Author:
- Lorand Jakab
-
Method Summary
Modifier and TypeMethodDescriptionstatic MappingData
computeNbSbIntersection
(MappingData nbMappingData, MappingData sbMappingData) static boolean
mappingIsExpired
(MappingData mappingData) static MappingRecord
mergeMappings
(MappingRecord currentMergedMapping, MappingRecord newMapping, XtrId xtrId, Date regdate) static MappingData
mergeXtrIdMappings
(List<Object> mappingDataList, List<MappingData> expiredMappingDataList, Set<IpAddressBinary> sourceRlocs) static boolean
timestampIsExpired
(Date timestamp)
-
Method Details
-
mergeMappings
public static MappingRecord mergeMappings(MappingRecord currentMergedMapping, MappingRecord newMapping, XtrId xtrId, Date regdate) -
mergeXtrIdMappings
public static MappingData mergeXtrIdMappings(List<Object> mappingDataList, List<MappingData> expiredMappingDataList, Set<IpAddressBinary> sourceRlocs) -
mappingIsExpired
-
timestampIsExpired
-
computeNbSbIntersection
public static MappingData computeNbSbIntersection(MappingData nbMappingData, MappingData sbMappingData)
-