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, invalidateCachedAppDefinition
getAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setElementId, setLockManager, setLogDir, setSslEnabled, setWorkingDir
public 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.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
InterruptedException
public 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.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
InterruptedException
public 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.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
InterruptedException
public 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.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
public 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.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
InterruptedException
public void start() throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException, com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
public void stop() throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException, com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
public 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.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
public 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.Provisionable
com.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.Provisionable
com.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.Provisionable
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.com.endeca.soleng.eac.toolkit.exception.EacProvisioningException
com.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.EacComponentControlException
public void setDefinition() throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
setDefinition
in class com.endeca.soleng.eac.toolkit.base.Provisionable
com.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.Provisionable
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
- If a communication error occurs while
retrieving the provisioning port.com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacProvisioningException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
public 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.Provisionable
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.