Package org.geotools.vectormosaic
Class GranuleTracker
Object
GranuleTracker
Class used to track the number of times a granule is accessed and the number of unique granules
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a granule namesintgetCount()Get the number of unique granulesvoidIncrement the access countvoidsetCount(AtomicInteger count) voidsetGranuleNames(Set<String> granuleNames)
-
Constructor Details
-
GranuleTracker
public GranuleTracker()
-
-
Method Details
-
incrementAccessCount
public void incrementAccessCount()Increment the access count -
getCount
public int getCount()Get the number of unique granules- Returns:
-
add
Add a granule names- Parameters:
params- the granule name
-
getGranuleNames
-
setGranuleNames
-
setCount
-