Package org.geotools.vectormosaic
Class GranuleTracker
- Object
-
- GranuleTracker
-
public class GranuleTracker extends Object
Class used to track the number of times a granule is accessed and the number of unique granules
-
-
Constructor Summary
Constructors Constructor Description GranuleTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String params)Add a granule namesintgetCount()Get the number of unique granulesSet<String>getGranuleNames()voidincrementAccessCount()Increment the access countvoidsetCount(AtomicInteger count)voidsetGranuleNames(Set<String> granuleNames)
-
-
-
Method Detail
-
incrementAccessCount
public void incrementAccessCount()
Increment the access count
-
getCount
public int getCount()
Get the number of unique granules- Returns:
-
add
public void add(String params)
Add a granule names- Parameters:
params- the granule name
-
setCount
public void setCount(AtomicInteger count)
-
-