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 void
add(String params)
Add a granule namesint
getCount()
Get the number of unique granulesSet<String>
getGranuleNames()
void
incrementAccessCount()
Increment the access countvoid
setCount(AtomicInteger count)
void
setGranuleNames(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)
-
-