Package com.illumon.iris.controller
Class DispatcherJsonUtil
java.lang.Object
com.illumon.iris.controller.DispatcherJsonUtil
Utilities for parsing Dispatcher returned JSON.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
supportsKubernetes
(com.fishlib.io.logger.Logger log, PersistentQueryDbServerConfig serverConfig) Does this dispatcher support Kubernetes.
-
Constructor Details
-
DispatcherJsonUtil
public DispatcherJsonUtil()
-
-
Method Details
-
supportsKubernetes
public static boolean supportsKubernetes(com.fishlib.io.logger.Logger log, PersistentQueryDbServerConfig serverConfig) Does this dispatcher support Kubernetes.- Parameters:
log
- this function is rather accepting of bad JSON, returning false when it doesn't understand the JSON. The log will emit warnings in those cases.serverConfig
- the server configuration from the controller- Returns:
- whether Kubernetes is supported by the given server
-