Class RegistryProviderDb

    • Field Detail

      • CONF_LOCK_TIMEOUT

        public static final String CONF_LOCK_TIMEOUT
        Configuration key for the lock timeout.
        See Also:
        Constant Field Values
      • CONF_CLUSTER_NAME

        public static final String CONF_CLUSTER_NAME
        Configuration key specifying the name of the cluster of which to provide the global registry.
        See Also:
        Constant Field Values
      • lockTimeout

        protected final long lockTimeout
        The time in milliseconds to wait for the table lock before aborting.
      • clusterName

        protected final String clusterName
        The name of the cluster of which to provide the global registry.
    • Constructor Detail

      • RegistryProviderDb

        public RegistryProviderDb​(org.apache.commons.configuration2.Configuration conf,
                                  Registry registry)
        Creates a new global registry provider retrieving the global registry URIs from the cluster (synchronisation) JDBC data source.
        Parameters:
        conf - The configuration of this service.
        registry - The registry of this service.