Package io.deephaven.enterprise
Class DeephavenProcessStatusReporterProvider
java.lang.Object
io.deephaven.enterprise.DeephavenProcessStatusReporterProvider
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROC_STATUS_REPORTER_PROVIDER_PROP
- See Also:
-
ANOMALY_GATEWAY_ENABLED_PROP
- See Also:
-
ANOMALY_CLIENT_CLASS_NAME
- See Also:
-
-
Constructor Details
-
DeephavenProcessStatusReporterProvider
public DeephavenProcessStatusReporterProvider()
-
-
Method Details
-
getProvider
-