Class RemoteQueryDispatcher
java.lang.Object
com.illumon.iris.db.tables.remotequery.RemoteQueryDispatcher
public class RemoteQueryDispatcher extends Object
Dispatcher class to create query workers.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteQueryDispatcher.RunState -
Field Summary
Fields Modifier and Type Field Description static booleanALLOW_RUN_ASstatic StringDISPATCHER_ETCD_RW_CONTEXTThe name of the directory under /etc/sysconfig/deephaven/etcd/client/ that contains our etcd endpoint, user, password, certificate, etc.static intLEASE_KEEPALIVE_TIMEOUT_MSHow long will we wait for our etcd lease to be granted or renewed, in milliseconds before determining that we had a failure.static longprefixNonce -
Constructor Summary
Constructors Constructor Description RemoteQueryDispatcher(IrisLogCreator logCreator, String dispatcherHostName) -
Method Summary
Modifier and Type Method Description static FilegetCachedClassDirectory()static FilegetCachedClassDirectory(String processUserName)static FilegetClassDirectoryRoot()static FilegetClassDirectoryRoot(String processUserName)static StringgetUserWorkspaceRoot(String processUserName)static voidmain(String... args)booleanshutdown()
-
Field Details
-
DISPATCHER_ETCD_RW_CONTEXT
The name of the directory under /etc/sysconfig/deephaven/etcd/client/ that contains our etcd endpoint, user, password, certificate, etc.- See Also:
- Constant Field Values
-
LEASE_KEEPALIVE_TIMEOUT_MS
public static final int LEASE_KEEPALIVE_TIMEOUT_MSHow long will we wait for our etcd lease to be granted or renewed, in milliseconds before determining that we had a failure. -
prefixNonce
public static final long prefixNonce -
ALLOW_RUN_AS
public static boolean ALLOW_RUN_AS
-
-
Constructor Details
-
RemoteQueryDispatcher
public RemoteQueryDispatcher(IrisLogCreator logCreator, String dispatcherHostName) throws IOException, ExecutionException, InterruptedException, TimeoutException
-
-
Method Details
-
getUserWorkspaceRoot
-
getClassDirectoryRoot
-
getClassDirectoryRoot
-
getCachedClassDirectory
-
getCachedClassDirectory
-
shutdown
public boolean shutdown() -
main
-