Class TimeBucketWheel
- java.lang.Object
-
- org.opendaylight.lispflowmapping.implementation.timebucket.containers.TimeBucketWheel
-
public class TimeBucketWheel extends java.lang.Object
Created by Shakib Ahmed on 12/1/16.
-
-
Constructor Summary
Constructors Constructor Description TimeBucketWheel(int numberOfBuckets, long mappingRecordValidityInMilis, MappingSystem mappingSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
add(Eid key, MappingData mappingData, long timestamp)
void
clearExpiredMappingAndRotate()
void
clearExpiredMappingAndRotate(long currentStamp)
int
refreshMappping(Eid key, MappingData newMappingData, long timestamp, int bucketId)
void
removeMapping(Eid key, int bucketId)
-
-
-
Constructor Detail
-
TimeBucketWheel
public TimeBucketWheel(int numberOfBuckets, long mappingRecordValidityInMilis, MappingSystem mappingSystem)
-
-
Method Detail
-
add
public int add(Eid key, MappingData mappingData, long timestamp)
-
refreshMappping
public int refreshMappping(Eid key, MappingData newMappingData, long timestamp, int bucketId)
-
removeMapping
public void removeMapping(Eid key, int bucketId)
-
clearExpiredMappingAndRotate
public void clearExpiredMappingAndRotate()
-
clearExpiredMappingAndRotate
public void clearExpiredMappingAndRotate(long currentStamp)
-
-