Package crawlercommons.urlfrontier
Interface Urlfrontier.StatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Urlfrontier.Stats,Urlfrontier.Stats.Builder
- Enclosing class:
- Urlfrontier
public static interface Urlfrontier.StatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsCounts(String key)custom countsMap<String,Long>getCounts()Deprecated.intgetCountsCount()custom countsMap<String,Long>getCountsMap()custom countslonggetCountsOrDefault(String key, long defaultValue)custom countslonggetCountsOrThrow(String key)custom countsStringgetCrawlID()crawl IDcom.google.protobuf.ByteStringgetCrawlIDBytes()crawl IDintgetInProcess()number of URLs currently in flightlonggetNumberOfQueues()number of active queues in the frontierlonggetSize()number of active URLs in queues-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSize
long getSize()
number of active URLs in queues
uint64 size = 1;- Returns:
- The size.
-
getInProcess
int getInProcess()
number of URLs currently in flight
uint32 inProcess = 2;- Returns:
- The inProcess.
-
getCountsCount
int getCountsCount()
custom counts
map<string, uint64> counts = 3;
-
containsCounts
boolean containsCounts(String key)
custom counts
map<string, uint64> counts = 3;
-
getCounts
@Deprecated Map<String,Long> getCounts()
Deprecated.UsegetCountsMap()instead.
-
getCountsOrDefault
long getCountsOrDefault(String key, long defaultValue)
custom counts
map<string, uint64> counts = 3;
-
getCountsOrThrow
long getCountsOrThrow(String key)
custom counts
map<string, uint64> counts = 3;
-
getNumberOfQueues
long getNumberOfQueues()
number of active queues in the frontier
uint64 numberOfQueues = 4;- Returns:
- The numberOfQueues.
-
getCrawlID
String getCrawlID()
crawl ID
string crawlID = 5;- Returns:
- The crawlID.
-
getCrawlIDBytes
com.google.protobuf.ByteString getCrawlIDBytes()
crawl ID
string crawlID = 5;- Returns:
- The bytes for crawlID.
-
-