|
EAC Components 3.2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.soleng.eac.toolkit.base.EacElement com.endeca.soleng.eac.toolkit.base.Provisionable com.endeca.soleng.eac.toolkit.component.cluster.IndexingCluster
public class IndexingCluster
Field Summary |
---|
Fields inherited from class com.endeca.soleng.eac.toolkit.base.EacElement |
---|
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir |
Constructor Summary | |
---|---|
IndexingCluster()
Default constructor. |
Method Summary | |
---|---|
void |
addAgidx(AgidxComponent agidx)
Adds a agidx to the group. |
void |
addDgidx(DgidxComponent dgidx)
Adds a dgidx to the group. |
void |
archiveIndex()
|
void |
archiveLogDir()
|
void |
cleanDirs()
|
AgidxComponent |
getAgidxById(java.lang.String agidxId)
Retrieves the Agidx with the specified ID from the group. |
java.util.List<java.lang.String> |
getAgidxGroupNames()
Retrieves a list of all the agidx groups with which the group's agidxs are associated.. |
java.util.Map<java.lang.String,java.util.List<AgidxComponent>> |
getAgidxGroups()
Retrieves a map, whose keys are the agidx groups defined for the application, and whose values are lists of agidxs belonging to each agidx group. |
java.util.List<AgidxComponent> |
getAgidxs()
|
java.util.List<AgidxComponent> |
getAgidxsInAgidxGroup(java.lang.String agidxGroup)
Retrieves a list of all agidxs belonging to the specified agidx group. |
DgidxComponent |
getDgidxById(java.lang.String dgidxId)
Retrieves the Dgidx with the specified ID from the group. |
void |
getDgidxConfig()
|
java.util.List<java.lang.String> |
getDgidxGroupNames()
Retrieves a list of all the dgidx groups with which the group's dgidxs are associated.. |
java.util.Map<java.lang.String,java.util.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()
|
java.util.List<DgidxComponent> |
getDgidxs()
|
java.util.List<DgidxComponent> |
getDgidxsInDgidxGroup(java.lang.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 |
setAgidxs(java.util.List<AgidxComponent> agidxs)
|
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(java.util.List<DgidxComponent> dgidxs)
|
void |
setGetDataInParallel(boolean getDataInParallel)
|
void |
start()
|
void |
stop()
|
void |
updateDefinition()
Updates the definition of each dgidx in the group. |
Methods inherited from class com.endeca.soleng.eac.toolkit.base.Provisionable |
---|
getAppDefinitionFromEac, getCachedAppDefinition, getProvisioningPort, invalidateCachedAppDefinition |
Methods inherited from class com.endeca.soleng.eac.toolkit.base.EacElement |
---|
getAppName, getDataPrefix, getEacHost, getEacPort, getElementId, getLockManager, getLogDir, getWorkingDir, isSslEnabled, setAppName, setDataPrefix, setEacHost, setEacPort, setElementId, setLockManager, setLogDir, setSslEnabled, setWorkingDir |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexingCluster()
Method Detail |
---|
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, java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
java.lang.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, java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
java.lang.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, java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
java.lang.InterruptedException
public void archiveLogDir() throws com.endeca.soleng.eac.toolkit.exception.EacCommunicationException, com.endeca.soleng.eac.toolkit.exception.EacComponentControlException, java.lang.InterruptedException, com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
java.lang.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, java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
java.lang.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, java.lang.InterruptedException, com.endeca.soleng.eac.toolkit.exception.AppConfigurationException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
java.lang.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 java.util.List<DgidxComponent> getDgidxs()
public java.util.List<AgidxComponent> getAgidxs()
public DgidxComponent getDgidxById(java.lang.String dgidxId)
dgidxId
- ID of the dgidx to retrieve.
public AgidxComponent getAgidxById(java.lang.String agidxId)
agidxId
- ID of the agidx to retrieve.
public java.util.Map<java.lang.String,java.util.List<DgidxComponent>> getDgidxGroups()
public java.util.Map<java.lang.String,java.util.List<AgidxComponent>> getAgidxGroups()
public java.util.List<DgidxComponent> getDgidxsInDgidxGroup(java.lang.String dgidxGroup)
dgidxGroup
- Name of the dgidx group whose member dgidxs should
be retrieved.
public java.util.List<AgidxComponent> getAgidxsInAgidxGroup(java.lang.String agidxGroup)
agidxGroup
- Name of the agidx group whose member agidxs should
be retrieved.
public java.util.List<java.lang.String> getDgidxGroupNames()
public java.util.List<java.lang.String> getAgidxGroupNames()
public void setDgidxs(java.util.List<DgidxComponent> dgidxs)
public void addDgidx(DgidxComponent dgidx)
dgidx
- public void setAgidxs(java.util.List<AgidxComponent> agidxs)
public void addAgidx(AgidxComponent agidx)
agidx
- 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
|
EAC Components 3.2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@VERSION PRODUCT: EAC Components (eacComponents) VERSION: 3.2.2 BUILD: NONEDEV ARCH_OS: n/a DATE: 2012-02-28T13:13:23-0500