Class TopLevelDomainService

java.lang.Object
com.aoindustries.aoserv.master.tlds.TopLevelDomainService
All Implemented Interfaces:
MasterService

public class TopLevelDomainService extends Object implements MasterService
Synchronizes the database table from the auto-updating Java API.

This is based on TopLevelDomain-import.sql from the ao-tlds project.

Author:
AO Industries, Inc.
  • Constructor Details

    • TopLevelDomainService

      public TopLevelDomainService()
  • Method Details

    • start

      public void start()
      Description copied from interface: MasterService
      Once all the services have been loaded and instantiated, they are all started in dependency (TODO: in dependency order?).

      Once the master server has attempted to start each service at least once, it will then proceed to accept incoming connections.

      When a service returns from start, without throwing an exception, it is considerer alive and start will not be called again. When a service fails to start, by throwing an exception, start will be re-attempted once per minute indefinitely.

      There is no timeout on calls to start. If a service blocks the entire master server will not start.

      Specified by:
      start in interface MasterService