public class DgraphUpdateUtility extends CurlUtility
EAC_MAX_TOKEN_LENGTH, ENDECA_CONF, IS_WINDOWS, WINDOWS_MAX_PATH_LENGTH
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir
Constructor and Description |
---|
DgraphUpdateUtility(String appName,
String eacHost,
int eacPort,
boolean sslEnabled)
Default (inherited) constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
init(String host,
String hostname,
String port,
String workingDir)
Dgraph update initializer.
|
void |
init(String host,
String hostname,
String port,
String workingDir,
boolean offlineUpdate,
int numCacheWarmupSeconds)
Dgraph update initializer.
|
void |
init(String host,
String hostname,
String port,
String workingDir,
boolean offlineUpdate,
int numCacheWarmupSeconds,
String certFile,
String caFile)
Dgraph update initializer.
|
getBinaryDir, getCurlBinary, init, init, init
buildEacStub, conditionalRun, getCommand, getHostId, initializeEacStub, maximumAllowedTokenLength, setCommand, setHostId
getDirContents, getMaxMissedStatusChecksAllowed, getMaxWaitTimeSeconds, getMinWaitTimeSeconds, getNonNullPositiveLongValueOrDefault, getNumMissedStatusChecks, getSlowPollingIntervalMs, getStandardPollingIntervalMs, getStatus, incrementMissedStatusQueries, initializeEacStub, isActive, isFailed, run, runInParallel, setElementId, setMaxMissedStatusQueriesAllowed, setMaxWaitSeconds, setMinWaitSeconds, setNumMissedStatusChecks, setPollingIntervalMs, setSlowPollingIntervalMs, start, stop, waitForFinished
getAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setLockManager, setLogDir, setSslEnabled, setWorkingDir
public DgraphUpdateUtility(String appName, String eacHost, int eacPort, boolean sslEnabled) throws AppConfigurationException
AppConfigurationException
- If the application name or EAC host is null.public void init(String host, String hostname, String port, String workingDir)
init
in class ShellUtility
host
- ID of the host on which to execute the command.hostname
- Dgraph hostname.port
- Dgraph port.workingDir
- Working directory from which to execute the command.public void init(String host, String hostname, String port, String workingDir, boolean offlineUpdate, int numCacheWarmupSeconds)
host
- ID of the host on which to execute the command.hostname
- Dgraph hostname.port
- Dgraph port.workingDir
- Working directory from which to execute the command.offlineUpdate
- Whether the Dgraph should be taken offline during an update (recommended). This parameter
is no longer relevant, as the MDEX Engine no longer supports online updates. This value is no longer
send to the dgraph.numCacheWarmupSeconds
- Number of seconds to run cache warming after an update is applied.public void init(String host, String hostname, String port, String workingDir, boolean offlineUpdate, int numCacheWarmupSeconds, String certFile, String caFile)
host
- ID of the host on which to execute the command.hostname
- Dgraph hostname.port
- Dgraph port.workingDir
- Working directory from which to execute the command.offlineUpdate
- Whether the Dgraph should be taken offline during an update
(recommended). This parameter is no longer relevant, as the
MDEX Engine no longer supports online updates. This value is
no longer send to the dgraph.numCacheWarmupSeconds
- Number of seconds to run cache warming after an update is
applied.certFile
- The certificate file that is needed to use HTTPS to
communicate with the Dgraph. This is 'null' if HTTP is used
instead.caFile
- The Certificate Authority that is needed to verify the various
certificates when communicating with the Dgraph using HTTPS.
This is 'null' if HTTP is used instead.Copyright © 2014, Oracle and/or its affiliates. All rights reserved.