EAC Toolkit 3.2.1

com.endeca.soleng.eac.toolkit.utility.wget
Class LogServerRollUtility

java.lang.Object
  extended by com.endeca.soleng.eac.toolkit.base.EacElement
      extended by com.endeca.soleng.eac.toolkit.utility.Utility
          extended by com.endeca.soleng.eac.toolkit.utility.ShellUtility
              extended by com.endeca.soleng.eac.toolkit.utility.wget.WgetUtility
                  extended by com.endeca.soleng.eac.toolkit.utility.wget.LogServerRollUtility

public class LogServerRollUtility
extends WgetUtility

Utility used to trigger a logserver "roll" via a wget call to the logserver's /roll administrative URL.

Author:
sshusteff

Field Summary
 
Fields inherited from class com.endeca.soleng.eac.toolkit.utility.Utility
EAC_MAX_TOKEN_LENGTH, ENDECA_CONF, IS_WINDOWS, WINDOWS_MAX_PATH_LENGTH
 
Fields inherited from class com.endeca.soleng.eac.toolkit.base.EacElement
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir
 
Constructor Summary
LogServerRollUtility(java.lang.String appName, java.lang.String eacHost, int eacPort, boolean sslEnabled)
          Default (inherited) constructor.
 
Method Summary
 void init(java.lang.String host, java.lang.String hostname, java.lang.String port, java.lang.String workingDir)
          Dgraph update initializer.
 
Methods inherited from class com.endeca.soleng.eac.toolkit.utility.wget.WgetUtility
getWgetBinary, init, init, init
 
Methods inherited from class com.endeca.soleng.eac.toolkit.utility.ShellUtility
buildEacStub, conditionalRun, getCommand, getHostId, initializeEacStub, maximumAllowedTokenLength, setCommand, setHostId
 
Methods inherited from class com.endeca.soleng.eac.toolkit.utility.Utility
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
 
Methods inherited from class com.endeca.soleng.eac.toolkit.base.EacElement
getAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setLockManager, setLogDir, setSslEnabled, setWorkingDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogServerRollUtility

public LogServerRollUtility(java.lang.String appName,
                            java.lang.String eacHost,
                            int eacPort,
                            boolean sslEnabled)
                     throws AppConfigurationException
Default (inherited) constructor.

Throws:
AppConfigurationException - If the application name or EAC host is null.
Method Detail

init

public void init(java.lang.String host,
                 java.lang.String hostname,
                 java.lang.String port,
                 java.lang.String workingDir)
Dgraph update initializer.

Overrides:
init in class ShellUtility
Parameters:
host - ID of the host on which to execute the command.
hostname - Logserver hostname.
port - Logserver port.
workingDir - Working directory from which to execute the command.

EAC Toolkit 3.2.1

Copyright © 2011 Endeca Technologies, Inc. All Rights Reserved.
@VERSION
PRODUCT: EAC Toolkit (eacToolkit)
VERSION: 3.2.1
BUILD:   NONE
ARCH_OS: n/a
DATE:    2011-11-10T16:21:05-0500