Class RecordCreatorFactory
java.lang.Object
org.apache.hadoop.registry.server.dns.RecordCreatorFactory
A factory for creating DNS records.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn object for storing the host and port info used to generate SRV records.static interfaceRecordCreatorFactory.RecordCreator<R extends org.xbill.DNS.Record,T> A DNS Record creator. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetTtl(long ttl) Set the TTL value for the records created by the factory.
-
Method Details
-
setTtl
public static void setTtl(long ttl) Set the TTL value for the records created by the factory.- Parameters:
ttl- the ttl value, in seconds.
-