-
public interface DataCollector<T extends Object>The data collector interface
-
-
Method Summary
Modifier and Type Method Description BooleanhasMore()abstract IntegercollectTo(T element, List<T> sink)abstract IntegercollectTo(Integer index, T element, List<T> sink)abstract IntegercollectTo(List<T> sink)abstract IntegercollectTo(Integer index, List<T> sink)abstract List<String>dump()abstract Unitclear()UnitdeepClear()abstract IntegergetId()abstract StringgetName()The collector name abstract UnitsetName(String name)The collector name abstract Set<String>getLabels()The collector name abstract StringgetLang()Required website language abstract StringgetCountry()Required website country abstract StringgetDistrict()Required website district abstract IntegergetCapacity()The collector cache capacity. abstract IntegergetSize()abstract IntegergetExternalSize()abstract IntegergetEstimatedSize()abstract IntegergetEstimatedExternalSize()abstract IntegergetCollectCount()abstract IntegergetCollectedCount()abstract InstantgetCreateTime()abstract InstantgetFirstCollectTime()abstract InstantgetLastCollectedTime()abstract DurationgetCollectTime()abstract InstantgetDeadTime()BooleangetIsDead()-
-
Method Detail
-
getCountry
abstract String getCountry()
Required website country
-
getDistrict
abstract String getDistrict()
Required website district
-
getCapacity
abstract Integer getCapacity()
The collector cache capacity. At most capacity items can be collected to the cache from the source
-
getExternalSize
abstract Integer getExternalSize()
-
getEstimatedSize
abstract Integer getEstimatedSize()
-
getEstimatedExternalSize
abstract Integer getEstimatedExternalSize()
-
getCollectCount
abstract Integer getCollectCount()
-
getCollectedCount
abstract Integer getCollectedCount()
-
getCreateTime
abstract Instant getCreateTime()
-
getFirstCollectTime
abstract Instant getFirstCollectTime()
-
getLastCollectedTime
abstract Instant getLastCollectedTime()
-
getCollectTime
abstract Duration getCollectTime()
-
getDeadTime
abstract Instant getDeadTime()
-
-
-
-