public class IndexingCluster
extends com.endeca.soleng.eac.toolkit.base.Provisionable
| Constructor and Description |
|---|
IndexingCluster()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDgidx(DgidxComponent dgidx)
Adds a dgidx to the group.
|
void |
archiveIndex() |
void |
archiveLogDir() |
void |
cleanDirs() |
DgidxComponent |
getDgidxById(String dgidxId)
Retrieves the Dgidx with the specified ID from the group.
|
void |
getDgidxConfig() |
List<String> |
getDgidxGroupNames()
Retrieves a list of all the dgidx groups with which the group's dgidxs
are associated..
|
Map<String,List<DgidxComponent>> |
getDgidxGroups()
Retrieves a map, whose keys are the dgidx groups defined for the application,
and whose values are lists of dgidxs belonging to each dgidx group.
|
void |
getDgidxIncomingData() |
List<DgidxComponent> |
getDgidxs() |
List<DgidxComponent> |
getDgidxsInDgidxGroup(String dgidxGroup)
Retrieves a list of all dgidxs belonging to the specified dgidx group.
|
boolean |
isDefined()
Checks whether the member dgidxs in the group are defined.
|
boolean |
isDefinitionChanged()
Checks whether the member dgidxs in the group have changed.
|
boolean |
isGetDataInParallel() |
void |
removeDefinition()
Removes the definition of each defined dgidx in the group.
|
void |
run() |
void |
setCachedAppDefinition(com.endeca.eac.client.ApplicationType cachedAppDefinition) |
void |
setDefinition()
Sets the definition of each dgidx in the group that is not already defined.
|
void |
setDgidxs(List<DgidxComponent> dgidxs) |
void |
setGetDataInParallel(boolean getDataInParallel) |
void |
start() |
void |
stop() |
void |
updateDefinition()
Updates the definition of each dgidx in the group.
|
getAppDefinitionFromEac, getCachedAppDefinition, getProvisioningPort, invalidateCachedAppDefinitiongetAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setElementId, setLockManager, setLogDir, setSslEnabled, setWorkingDirpublic void cleanDirs()
throws com.endeca.soleng.eac.toolkit.exception.AppConfigurationException,
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptioncom.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionInterruptedExceptionpublic void getDgidxIncomingData()
throws com.endeca.soleng.eac.toolkit.exception.AppConfigurationException,
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptioncom.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionInterruptedExceptionpublic void getDgidxConfig()
throws com.endeca.soleng.eac.toolkit.exception.AppConfigurationException,
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptioncom.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionInterruptedExceptionpublic void archiveLogDir()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
InterruptedException,
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionInterruptedExceptioncom.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptionpublic void archiveIndex()
throws com.endeca.soleng.eac.toolkit.exception.AppConfigurationException,
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptioncom.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionInterruptedExceptionpublic void start()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionpublic void stop()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionpublic void run()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
InterruptedException,
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationExceptioncom.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionInterruptedExceptioncom.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptionpublic boolean isDefined()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacProvisioningException
isDefined in class com.endeca.soleng.eac.toolkit.base.Provisionablecom.endeca.soleng.eac.toolkit.exception.EacCommunicationException - If a communication error occurs while
retrieving the provisioning port.com.endeca.soleng.eac.toolkit.exception.EacProvisioningException - If an error occurs while trying to retrieve
a component definition from the EAC.public boolean isDefinitionChanged()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacProvisioningException
isDefinitionChanged in class com.endeca.soleng.eac.toolkit.base.Provisionablecom.endeca.soleng.eac.toolkit.exception.EacCommunicationException - If a communication error occurs while
retrieving the provisioning port.com.endeca.soleng.eac.toolkit.exception.EacProvisioningException - If an error occurs while trying to retrieve
a component definition from the EAC.public void removeDefinition()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
removeDefinition in class com.endeca.soleng.eac.toolkit.base.Provisionablecom.endeca.soleng.eac.toolkit.exception.EacCommunicationException - If a communication error occurs while
retrieving the provisioning port.com.endeca.soleng.eac.toolkit.exception.EacProvisioningExceptioncom.endeca.soleng.eac.toolkit.exception.EacProvisioningException - If an error occurs while trying to retrieve
a component definition from the EAC.com.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptionpublic void setDefinition()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
setDefinition in class com.endeca.soleng.eac.toolkit.base.Provisionablecom.endeca.soleng.eac.toolkit.exception.EacCommunicationException - If a communication error occurs while
retrieving the provisioning port.public void updateDefinition()
throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException,
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException,
com.endeca.soleng.eac.toolkit.exception.EacProvisioningException,
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
updateDefinition in class com.endeca.soleng.eac.toolkit.base.Provisionablecom.endeca.soleng.eac.toolkit.exception.EacCommunicationException - If a communication error occurs while
retrieving the provisioning port.com.endeca.soleng.eac.toolkit.exception.EacComponentControlExceptioncom.endeca.soleng.eac.toolkit.exception.EacProvisioningExceptioncom.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptionpublic List<DgidxComponent> getDgidxs()
public DgidxComponent getDgidxById(String dgidxId)
dgidxId - ID of the dgidx to retrieve.public Map<String,List<DgidxComponent>> getDgidxGroups()
public List<DgidxComponent> getDgidxsInDgidxGroup(String dgidxGroup)
dgidxGroup - Name of the dgidx group whose member dgidxs should
be retrieved.public List<String> getDgidxGroupNames()
public void setDgidxs(List<DgidxComponent> dgidxs)
public void addDgidx(DgidxComponent dgidx)
dgidx - public boolean isGetDataInParallel()
public void setGetDataInParallel(boolean getDataInParallel)
public void setCachedAppDefinition(com.endeca.eac.client.ApplicationType cachedAppDefinition)
setCachedAppDefinition in class com.endeca.soleng.eac.toolkit.base.ProvisionableCopyright © 2017, Oracle and/or its affiliates. All rights reserved.