Package com.illumon.iris.controller
Class DispatcherJsonUtil
java.lang.Object
com.illumon.iris.controller.DispatcherJsonUtil
public class DispatcherJsonUtil extends Object
Utilities for parsing Dispatcher returned JSON.
-
Constructor Summary
Constructors Constructor Description DispatcherJsonUtil()
-
Method Summary
Modifier and Type Method Description static 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
-