Modifier and Type | Method and Description |
---|---|
boolean |
Application.isDefined()
Checks whether the application is defined in the EAC.
|
boolean |
Application.isDefinitionChanged()
Returns true if the application definition has changed.
|
void |
Application.removeDefinition()
Removes the application from the EAC, forcing the termination and removal
of components.
|
void |
Application.setDefinition()
Defines the (empty) application in the EAC.
|
void |
Application.updateDefinition()
Updates the application definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LockManager.acquireLock()
Convenience wrapper that calls acquireLock(String) with a null string.
|
boolean |
LockManager.acquireLockBlocking(long maxWaitSeconds)
Convenience wrapper that calls acquireLockBlocking(String) with a null string.
|
com.endeca.eac.client.ApplicationType |
Provisionable.getAppDefinitionFromEac()
Retrieves the application definition from the EAC.
|
com.endeca.eac.client.ProvisioningPort |
Provisionable.getProvisioningPort()
Retrieves the provisioning port that the application will use to send
provisioning commands to the EAC.
|
abstract boolean |
Provisionable.isDefined()
Extending objects will implement this method, returning true if the
provisioned object's definition is set in the EAC.
|
abstract boolean |
Provisionable.isDefinitionChanged()
Extending objects will implement this method, returning true if the
provisioned object's definition has changed in the EAC.
|
abstract void |
Provisionable.removeDefinition()
Extending objects will implement this method to remove the definition
of the provisioned object from the EAC.
|
void |
Synchronizable.removeFlag(String flag)
Removes a flag in the EAC.
|
abstract void |
Provisionable.setDefinition()
Extending objects will implement this method to add the definition
of the provisioned object to the EAC.
|
boolean |
Synchronizable.setFlag(String flag)
Sets a flag in the EAC.
|
abstract void |
Provisionable.updateDefinition()
Extending objects will implement this method to update the definition
of the provisioned object in the EAC.
|
Modifier and Type | Method and Description |
---|---|
void |
Component.archiveLogDir()
Creates a backup of the components log directory (i.e.
|
void |
Component.cleanDir(String dir)
Cleans all contents for the target directory, if the specified path is not null or empty.
|
void |
ServerComponent.cycle()
Cycles the server component.
|
Host |
CustomComponent.getHost()
Constructs a host object by specifying a host ID that should be retrieved
from the EAC.
|
com.endeca.eac.client.StateType |
Component.getStatus()
Retrieves the status of the component.
|
boolean |
Component.isActive()
Returns true if the component is active (i.e.
|
boolean |
CustomComponent.isDefined() |
boolean |
Component.isDefined()
Checks whether the component is defined in the EAC.
|
boolean |
CustomComponent.isDefinitionChanged() |
boolean |
Component.isDefinitionChanged()
Compares the definition of the component in the EAC to the local definition.
|
boolean |
Component.isFailed()
Returns true if the component failed when it was run most recently.
|
boolean |
Component.isHotUpdateDefinitionChange()
Method to test whether a definition change requires stopping the component
or whether it can be performed as a "hot update." This implementation
assumes that the only hot update that's possible is a change to the
properties.
|
boolean |
ServerComponent.isRunning()
Returns true if the component is running.
|
boolean |
ServerComponent.isStarting()
Returns true if the component is starting.
|
void |
CustomComponent.removeDefinition() |
void |
Component.removeDefinition()
Removes the EAC provisioning of this component.
|
void |
BatchComponent.run()
Runs the batch component synchronously.
|
static void |
BatchComponent.runInParallel(List<BatchComponent> components)
Runs batch components in parallel.
|
void |
CustomComponent.setDefinition() |
void |
Component.setDefinition()
Sets the EAC provisioning of this component, building the definition
from the information in this object.
|
void |
Component.setDefinition(com.endeca.eac.client.ComponentType componentType)
Sets the EAC provisioning of this component to the ComponentType WSDL stub
object passed as a parameter.
|
void |
ServerComponent.start() |
void |
Component.start()
Starts the component.
|
void |
ServerComponent.startAsynchronously()
Starts the component asynchronously, without testing its status after
sending the start command.
|
static void |
ServerComponent.startInParallel(List<ServerComponent> components)
Starts server components in parallel.
|
void |
ServerComponent.stop() |
void |
Component.stop()
Stops the component.
|
void |
ServerComponent.stopAsynchronously()
Stops the component asynchronously, without testing its status after
sending the stop command.
|
static void |
ServerComponent.stopInParallel(List<ServerComponent> components)
Stop server components in parallel.
|
void |
CustomComponent.updateDefinition() |
void |
Component.updateDefinition()
Updates the EAC provisioning of this component.
|
void |
Component.updateEacDefinition()
Updates the EAC provisioning of this component, building the definition from
this object.
|
void |
Component.updateEacDefinition(com.endeca.eac.client.ComponentType componentType)
Updates the EAC provisioning of this component with the specified component
type.
|
boolean |
Component.waitForFinished()
Waits for the component to finish, by polling for its status every second,
until the maximum wait time has elapsed.
|
boolean |
ServerComponent.waitForStarted()
Waits for the component to start, by polling for its status every second,
until the startup timeout has elapsed.
|
boolean |
ServerComponent.waitForStopped()
Waits for the component to stop, by polling for its status every second,
until the stop timeout has elapsed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Host.isDefined()
Checks whether the host is defined in the EAC.
|
boolean |
Host.isDefinitionChanged()
Compares the definition of the host in the EAC to the local definition.
|
void |
Host.removeDefinition()
Removes the EAC provisioning of this host.
|
void |
Host.setDefinition()
Sets the EAC provisioning of this host.
|
void |
Host.updateDefinition()
Updates the EAC provisioning of this host.
|
void |
Host.updateEacDefinition() |
Constructor and Description |
---|
Host(String appName,
String eacHost,
int eacPort,
String hostId,
boolean sslEnabled,
String dataPrefix,
String workingDir)
Constructor to initialize the host object from its EAC definition, by retrieving
the definition associated with the specified hostId.
|
Modifier and Type | Method and Description |
---|---|
com.endeca.eac.client.StateType |
Script.getStatus()
Retrieves the status of the script.
|
boolean |
Script.isActive()
Returns true if the script is active (i.e.
|
boolean |
Script.isDefined() |
boolean |
Script.isDefinitionChanged() |
boolean |
Script.isFailed()
Returns true if the script failed when it was run most recently.
|
void |
Script.removeDefinition() |
void |
Script.setDefinition() |
void |
Script.updateDefinition() |
Modifier and Type | Method and Description |
---|---|
boolean |
ShellUtility.conditionalRun()
Runs the shell utility synchronously, returning true if the invocation completes
with no error condition and false if the shell call results in an error condition.
|
boolean |
FileUtility.dirContainsFiles(String dir,
String hostId)
Tests whether there are any files in a directory.
|
boolean |
FileUtility.dirExists(String dir,
String hostId)
Tests whether a specified directory exists.
|
boolean |
FileUtility.fileExists(String dir,
String file,
String hostId)
Tests whether a specified file exists in a directory.
|
Map<String,Boolean> |
Utility.getDirContents(String dir,
String host)
Retrieves the list of files found in the specified directory on the
specified host.
|
com.endeca.eac.client.StateType |
Utility.getStatus()
Retrieves the status of the utility.
|
boolean |
Utility.isActive()
Returns true if the utility is active (i.e.
|
boolean |
Utility.isFailed()
Returns true if the utility failed when it was run most recently.
|
void |
Utility.run()
Runs the utility synchronously.
|
static void |
Utility.runInParallel(List<Utility> utilities)
Static method to run a set of utilities in parallel.
|
int |
DgraphUpdateFromFilesUtility.sendRequest(InputStream data)
Sends a stream of xml data (wrapped in SOAP tags) to the
dgraph server.
|
void |
Utility.start()
Starts the utility.
|
void |
Utility.stop()
Stops the utility.
|
boolean |
Utility.waitForFinished()
Waits for the utility to finish, by polling for its status every second,
until the maximum wait time has elapsed.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateDirUtility.run() |
void |
CleanDirUtility.run() |
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.