Package org.torproject.descriptor
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 SummaryAll 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.LocalDateTimesnowflakeStatsEnd()Return the end of the included measurement interval.java.time.DurationsnowflakeStatsIntervalLength()Return the length of the included measurement interval.- 
Methods inherited from interface org.torproject.descriptor.DescriptorgetAnnotations, getDescriptorFile, getRawDescriptorBytes, getRawDescriptorLength, getUnrecognizedLines
 
- 
 
- 
- 
- 
Method Detail- 
snowflakeStatsEndjava.time.LocalDateTime snowflakeStatsEnd() Return the end of the included measurement interval.- Returns:
- End of the included measurement interval.
- Since:
- 2.7.0
 
 - 
snowflakeStatsIntervalLengthjava.time.Duration snowflakeStatsIntervalLength() Return the length of the included measurement interval.- Returns:
- Length of the included measurement interval.
- Since:
- 2.7.0
 
 - 
snowflakeIpsjava.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
 
 - 
snowflakeIpsTotaljava.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
 
 - 
snowflakeIpsStandalonejava.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
 
 - 
snowflakeIpsBadgejava.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
 
 - 
snowflakeIpsWebextjava.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
 
 - 
snowflakeIdleCountjava.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
 
 - 
clientDeniedCountjava.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
 
 - 
clientRestrictedDeniedCountjava.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
 
 - 
clientUnrestrictedDeniedCountjava.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
 
 - 
clientSnowflakeMatchCountjava.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
 
 - 
snowflakeIpsNatRestrictedjava.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
 
 - 
snowflakeIpsNatUnrestrictedjava.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
 
 - 
snowflakeIpsNatUnknownjava.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
 
 
- 
 
-