Package google.registry.reporting.icann
Class BasicDnsCountQueryCoordinator
java.lang.Object
google.registry.reporting.icann.BasicDnsCountQueryCoordinator
- All Implemented Interfaces:
DnsCountQueryCoordinator
DNS Count query for the basic case.
-
Nested Class Summary
Nested classes/interfaces inherited from interface google.registry.reporting.icann.DnsCountQueryCoordinator
DnsCountQueryCoordinator.Params
-
Method Summary
Modifier and TypeMethodDescriptioncreateQuery
(org.joda.time.YearMonth yearMonth) Creates the string used to query bigtable for DNS count information.void
prepareForQuery
(org.joda.time.YearMonth yearMonth) Do any necessary preparation for the DNS query.
-
Method Details
-
createQuery
Description copied from interface:DnsCountQueryCoordinator
Creates the string used to query bigtable for DNS count information.- Specified by:
createQuery
in interfaceDnsCountQueryCoordinator
-
prepareForQuery
public void prepareForQuery(org.joda.time.YearMonth yearMonth) Description copied from interface:DnsCountQueryCoordinator
Do any necessary preparation for the DNS query.This potentially throws
InterruptedException
because some implementations use interruptible futures to prepare the query (and the correct thing to do with such exceptions is to handle them correctly or propagate them as-is, noRuntimeException
wrapping).- Specified by:
prepareForQuery
in interfaceDnsCountQueryCoordinator
-