Interface RootHub

  • All Superinterfaces:
    Lookup.Provider

    public interface RootHub
    extends Lookup.Provider
    RootHub implementations act as a container for Roots, providing a way for Roots to communicate with each other and access other hub-wide services. The Lookup provided by the RootHub will usually contain an instance of Services. A RootHub implementation is local to a JVM. In a distributed hub there will be a RootHub on each running process. Dispatching of messages between processes will be handled transparently using the dispatch() method. Other information, such as the Clock time, are specific to the RootHub instance (comparisons across RootHubs are not useful). Packet timecodes will be automatically translated.
    • Method Detail

      • getClock

        Clock getClock()
        The Clock instance for this RootHub. This method will return a high-precision nanosecond timer used as the primary timing source within this RootHub instance. This method will always return the same Clock instance.
        Returns:
        the primary timing source of this RootHub