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