Class TimeBucketWheel
java.lang.Object
org.opendaylight.lispflowmapping.implementation.timebucket.containers.TimeBucketWheel
Created by Shakib Ahmed on 12/1/16.
-
Constructor Summary
ConstructorDescriptionTimeBucketWheel
(int numberOfBuckets, long mappingRecordValidityInMilis, MappingSystem mappingSystem) -
Method Summary
Modifier and TypeMethodDescriptionint
add
(Eid key, MappingData mappingData, long timestamp) void
void
clearExpiredMappingAndRotate
(long currentStamp) int
refreshMappping
(Eid key, MappingData newMappingData, long timestamp, int bucketId) void
removeMapping
(Eid key, int bucketId)
-
Constructor Details
-
TimeBucketWheel
public TimeBucketWheel(int numberOfBuckets, long mappingRecordValidityInMilis, MappingSystem mappingSystem)
-
-
Method Details
-
add
-
refreshMappping
-
removeMapping
-
clearExpiredMappingAndRotate
public void clearExpiredMappingAndRotate() -
clearExpiredMappingAndRotate
public void clearExpiredMappingAndRotate(long currentStamp)
-