Class DeephavenProcessStatusReporterProvider

java.lang.Object
io.deephaven.enterprise.DeephavenProcessStatusReporterProvider

public class DeephavenProcessStatusReporterProvider extends Object
Provides a static factory method getProvider(Logger) to get a ProcessStatusReporterProvider, which can be used to obtain a ProcessStatusReporter. Implementations of that can be used to receive events from processes.

This allows for removing a dependency on com.fishlib.anomalyclient.SimpleAnomalyClient, the only class in the fishlib AnomalyClient jar, which is used to report process status events to a remote server. If the property "anomalygateway.enabled" is set to true and the com.fishlib.anomalyclient.SimpleAnomalyClient is on the classpath and can be loaded, then a provider that returns the anomaly client will be returned. In all other cases, a provider that returns a no-op implementation will be returned. The class is instantiated via reflection so it is not a hard dependency.

To use a new provider, set the property iris.processStatusReporterProvider with the fully qualified provider class name.

  • Field Details

  • Constructor Details

    • DeephavenProcessStatusReporterProvider

      public DeephavenProcessStatusReporterProvider()
  • Method Details