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

    Modifier and Type
    Method
    Description
    boolean
    custom counts
    Deprecated.
    int
    custom counts
    custom counts
    long
    getCountsOrDefault(String key, long defaultValue)
    custom counts
    long
    custom counts
    crawl ID
    com.google.protobuf.ByteString
    crawl ID
    int
    number of URLs currently in flight
    long
    number of active queues in the frontier
    long
    number of active URLs in queues

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.
      Use getCountsMap() instead.
    • getCountsMap

      Map<String,Long> getCountsMap()
       custom counts
       
      map<string, uint64> counts = 3;
    • 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.