
public class LookupSessionBean extends Object implements LookupSessionBeanLocal
| Modifier and Type | Field and Description | 
|---|---|
private DataManagerChordSessionBeanLocal | 
dataManagerChordSessionBean  | 
private LightSessionBeanLocal | 
lightSessionBean  | 
| Constructor and Description | 
|---|
LookupSessionBean()  | 
| Modifier and Type | Method and Description | 
|---|---|
Bucket | 
lightLabelLookup(long timestamp)
An implementation of the Algorithm 1 provided in LIGHT paper
 It takes a timestamp and return the associated Bucket, if it exists,
 or null 
 | 
List<GenericValue> | 
lightLookupAndGetDataBucket(Label bucketLabel)
Useful method to get all the datas referenced by the Bucket with
 label bucketLabel 
 | 
List<GenericValue> | 
lightLookupAndGetDataBucket(long timestamp)
Useful method to get all the datas referenced by the Bucket that has a Range
 containing the timestamp given 
 | 
Bucket | 
lookupBucket(Label l)
Get a Bucket in the Chord network and return that one if it exists 
 | 
Label | 
lowestCommonAncestor(Range range)
Get the lowest common ancestor between the Label (s) associated with
 the upperBound and the lowerBound of the Range given 
 | 
private LightSessionBeanLocal lightSessionBean
private DataManagerChordSessionBeanLocal dataManagerChordSessionBean
public Bucket lookupBucket(Label l)
lookupBucket in interface LookupSessionBeanLocall - |public Bucket lightLabelLookup(long timestamp)
lightLabelLookup in interface LookupSessionBeanLocaltimestamp - |public List<GenericValue> lightLookupAndGetDataBucket(long timestamp)
lightLookupAndGetDataBucket in interface LookupSessionBeanLocaltimestamp - |public List<GenericValue> lightLookupAndGetDataBucket(Label bucketLabel)
lightLookupAndGetDataBucket in interface LookupSessionBeanLocalbucketLabel - |public Label lowestCommonAncestor(Range range)
lowestCommonAncestor in interface LookupSessionBeanLocalrange - |Copyright © 2018. All rights reserved.