Class WorkerProtocolRegistry
java.lang.Object
com.illumon.iris.db.tables.remotequery.WorkerProtocolRegistry
Static store that will contain additional service information for a worker in this JVM that can be obtained
elsewhere, e.g. in a DIS. This is a mechanism to allow a merge worker with an in-worker DIS to dynamically get tailer
and tdp ports and place them here, to be retrieved by the DIS that gets created in the worker's script. Note that
this will only allow for one in-worker DIS per worker, though that should not present any significant limitations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerclaimServicePortOrDefault(String service, int defaultPort) static Stringstatic voidsetHostName(String hostName) static voidsetServicePort(String service, int port)
-
Method Details
-
setServicePort
-
claimServicePortOrDefault
-
setHostName
-
getHostName
-