Interface SnowflakeStats

  • All Superinterfaces:
    Descriptor, java.io.Serializable

    public interface SnowflakeStats
    extends Descriptor
    Contain aggregated information about snowflake proxies and snowflake clients.
    Since:
    2.7.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Long> clientDeniedCount()
      Return a count of the number of times a client has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
      java.util.Optional<java.lang.Long> clientRestrictedDeniedCount()
      Return a count of the number of times a client with a restricted or unknown NAT type has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
      java.util.Optional<java.lang.Long> clientSnowflakeMatchCount()
      Return a count of the number of times a client successfully received a proxy from the broker, rounded up to the nearest multiple of 8.
      java.util.Optional<java.lang.Long> clientUnrestrictedDeniedCount()
      Return a count of the number of times a client with an unrestricted NAT type has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
      java.util.Optional<java.lang.Long> snowflakeIdleCount()
      Return a count of the number of times a proxy has polled but received no client offer, rounded up to the nearest multiple of 8.
      java.util.Optional<java.util.SortedMap<java.lang.String,​java.lang.Long>> snowflakeIps()
      Return a list of mappings from two-letter country codes to the number of unique IP addresses of snowflake proxies that have polled.
      java.util.Optional<java.lang.Long> snowflakeIpsBadge()
      Return a count of the total number of unique IP addresses of snowflake proxies of type "badge" that have polled.
      java.util.Optional<java.lang.Long> snowflakeIpsNatRestricted()
      Return a count of the total number of unique IP addresses of snowflake proxies that have a restricted NAT type.
      java.util.Optional<java.lang.Long> snowflakeIpsNatUnknown()
      Return a count of the total number of unique IP addresses of snowflake proxies that have an unknown NAT type.
      java.util.Optional<java.lang.Long> snowflakeIpsNatUnrestricted()
      Return a count of the total number of unique IP addresses of snowflake proxies that have an unrestricted NAT type.
      java.util.Optional<java.lang.Long> snowflakeIpsStandalone()
      Return a count of the total number of unique IP addresses of snowflake proxies of type "standalone" that have polled.
      java.util.Optional<java.lang.Long> snowflakeIpsTotal()
      Return a count of the total number of unique IP addresses of snowflake proxies that have polled.
      java.util.Optional<java.lang.Long> snowflakeIpsWebext()
      Return a count of the total number of unique IP addresses of snowflake proxies of type "webext" that have polled.
      java.time.LocalDateTime snowflakeStatsEnd()
      Return the end of the included measurement interval.
      java.time.Duration snowflakeStatsIntervalLength()
      Return the length of the included measurement interval.
    • Method Detail

      • snowflakeStatsEnd

        java.time.LocalDateTime snowflakeStatsEnd()
        Return the end of the included measurement interval.
        Returns:
        End of the included measurement interval.
        Since:
        2.7.0
      • snowflakeStatsIntervalLength

        java.time.Duration snowflakeStatsIntervalLength()
        Return the length of the included measurement interval.
        Returns:
        Length of the included measurement interval.
        Since:
        2.7.0
      • snowflakeIps

        java.util.Optional<java.util.SortedMap<java.lang.String,​java.lang.Long>> snowflakeIps()
        Return a list of mappings from two-letter country codes to the number of unique IP addresses of snowflake proxies that have polled.
        Returns:
        List of mappings from two-letter country codes to the number of unique IP addresses of snowflake proxies that have polled.
        Since:
        2.7.0
      • snowflakeIpsTotal

        java.util.Optional<java.lang.Long> snowflakeIpsTotal()
        Return a count of the total number of unique IP addresses of snowflake proxies that have polled.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies that have polled.
        Since:
        2.7.0
      • snowflakeIpsStandalone

        java.util.Optional<java.lang.Long> snowflakeIpsStandalone()
        Return a count of the total number of unique IP addresses of snowflake proxies of type "standalone" that have polled.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies of type "standalone" that have polled.
        Since:
        2.10.0
      • snowflakeIpsBadge

        java.util.Optional<java.lang.Long> snowflakeIpsBadge()
        Return a count of the total number of unique IP addresses of snowflake proxies of type "badge" that have polled.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies of type "badge" that have polled.
        Since:
        2.10.0
      • snowflakeIpsWebext

        java.util.Optional<java.lang.Long> snowflakeIpsWebext()
        Return a count of the total number of unique IP addresses of snowflake proxies of type "webext" that have polled.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies of type "webext" that have polled.
        Since:
        2.10.0
      • snowflakeIdleCount

        java.util.Optional<java.lang.Long> snowflakeIdleCount()
        Return a count of the number of times a proxy has polled but received no client offer, rounded up to the nearest multiple of 8.
        Returns:
        Count of the number of times a proxy has polled but received no client offer, rounded up to the nearest multiple of 8.
        Since:
        2.7.0
      • clientDeniedCount

        java.util.Optional<java.lang.Long> clientDeniedCount()
        Return a count of the number of times a client has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
        Returns:
        Count of the number of times a client has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
        Since:
        2.7.0
      • clientRestrictedDeniedCount

        java.util.Optional<java.lang.Long> clientRestrictedDeniedCount()
        Return a count of the number of times a client with a restricted or unknown NAT type has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
        Returns:
        Count of the number of times a client with a restricted or unknown NAT type has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
        Since:
        2.16.0
      • clientUnrestrictedDeniedCount

        java.util.Optional<java.lang.Long> clientUnrestrictedDeniedCount()
        Return a count of the number of times a client with an unrestricted NAT type has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
        Returns:
        Count of the number of times a client with an unrestricted NAT type has requested a proxy from the broker but no proxies were available, rounded up to the nearest multiple of 8.
        Since:
        2.16.0
      • clientSnowflakeMatchCount

        java.util.Optional<java.lang.Long> clientSnowflakeMatchCount()
        Return a count of the number of times a client successfully received a proxy from the broker, rounded up to the nearest multiple of 8.
        Returns:
        Count of the number of times a client successfully received a proxy from the broker, rounded up to the nearest multiple of 8.
        Since:
        2.7.0
      • snowflakeIpsNatRestricted

        java.util.Optional<java.lang.Long> snowflakeIpsNatRestricted()
        Return a count of the total number of unique IP addresses of snowflake proxies that have a restricted NAT type.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies that have a restricted NAT type.
        Since:
        2.16.0
      • snowflakeIpsNatUnrestricted

        java.util.Optional<java.lang.Long> snowflakeIpsNatUnrestricted()
        Return a count of the total number of unique IP addresses of snowflake proxies that have an unrestricted NAT type.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies that have an unrestricted NAT type.
        Since:
        2.16.0
      • snowflakeIpsNatUnknown

        java.util.Optional<java.lang.Long> snowflakeIpsNatUnknown()
        Return a count of the total number of unique IP addresses of snowflake proxies that have an unknown NAT type.
        Returns:
        Count of the total number of unique IP addresses of snowflake proxies that have an unknown NAT type.
        Since:
        2.16.0