|
EAC Components 3.2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.soleng.eac.toolkit.base.EacElement
com.endeca.soleng.eac.toolkit.base.Provisionable
com.endeca.soleng.eac.toolkit.component.cluster.AgraphCluster
public class AgraphCluster
| Field Summary |
|---|
| Fields inherited from class com.endeca.soleng.eac.toolkit.base.EacElement |
|---|
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir |
| Constructor Summary | |
|---|---|
AgraphCluster()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addAgraph(AgraphComponent agraph)
Adds a agraph to the group. |
void |
addDgraph(DgraphComponent dgraph)
Adds a dgraph to the group. |
void |
applyConfigUpdate()
Updates the configuration of dgraphs in the group. |
void |
applyIndex()
Cycles the dgraphs in the group. |
void |
applyPartialUpdates()
Updates the dgraphs in the group. |
void |
cleanDirs()
|
void |
cleanLocalDgraphConfigDirs()
|
void |
cleanLocalIndexDirs()
|
void |
copyCumulativePartialUpdatesToDgraphServers()
Retrieves cumulative partials for each dgraph in the group. |
void |
copyDgraphConfigToDgraphServers()
Retrieves dgraph config for each dgraph in the group. |
void |
copyIndexToAgraphServers()
Retrieves a new index for each agraph in the group. |
void |
copyIndexToDgraphServers()
Retrieves a new index for each dgraph in the group. |
void |
copyPartialUpdateToDgraphServers()
Retrieves a partial update for each dgraph in the group. |
AgraphComponent |
getAgraphById(java.lang.String agraphId)
Retrieves the Agraph with the specified ID from the group. |
java.util.Map<java.lang.String,java.util.List<AgraphComponent>> |
getAgraphRestartGroups()
Retrieves a map, whose keys are the restart groups defined for the application, and whose values are lists of agraphs belonging to each restart group. |
java.util.List<AgraphComponent> |
getAgraphs()
|
java.util.List<AgraphComponent> |
getAgraphsInRestartGroup(java.lang.String restartGroup)
Retrieves a list of all agraphs belonging to the specified restart group. |
DgraphComponent |
getDgraphById(java.lang.String dgraphId)
Retrieves the Dgraph with the specified ID from the group. |
java.util.Map<java.lang.String,java.util.List<DgraphComponent>> |
getDgraphRestartGroups()
Retrieves a map, whose keys are the restart groups defined for the application, and whose values are lists of dgraphs belonging to each restart group. |
java.util.List<DgraphComponent> |
getDgraphs()
|
java.util.List<DgraphComponent> |
getDgraphsInRestartGroup(java.lang.String restartGroup)
Retrieves a list of all dgraphs belonging to the specified restart group. |
java.util.List<java.lang.String> |
getRestartGroups()
Retrieves a list of all the restart groups with which the group's dgraphs are associated.. |
boolean |
isDefined()
Checks whether the member graphs in the group are defined. |
boolean |
isDefinitionChanged()
Checks whether the member graphs in the group have changed. |
boolean |
isGetDataInParallel()
|
void |
removeDefinition()
Removes the definition of each defined graph in the group. |
void |
setAgraphs(java.util.List<AgraphComponent> agraphs)
|
void |
setCachedAppDefinition(com.endeca.eac.client.ApplicationType cachedAppDefinition)
|
void |
setDefinition()
Sets the definition of each graph in the group that is not already defined. |
void |
setDgraphs(java.util.List<DgraphComponent> dgraphs)
|
void |
setGetDataInParallel(boolean getDataInParallel)
|
void |
start()
|
void |
stop()
|
void |
updateDefinition()
Updates the definition of each graph 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 AgraphCluster()
| 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 cleanLocalIndexDirs()
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 cleanLocalDgraphConfigDirs()
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 copyIndexToDgraphServers()
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
java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
public void copyIndexToAgraphServers()
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
java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
public void copyPartialUpdateToDgraphServers()
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
java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
public void copyCumulativePartialUpdatesToDgraphServers()
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
java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
public void copyDgraphConfigToDgraphServers()
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
java.lang.InterruptedException
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
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 applyIndex()
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 - If a communication error occurs while
cycling a component.
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException - If an error occurs while trying to
cycle a component.
java.lang.InterruptedException - If the thread is interrupted while waiting for
a component to finish.
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException - If a utility fails to initialize because of
insufficient configuration information.
public void applyPartialUpdates()
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 - If a communication error occurs while
cycling a component.
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException - If an error occurs while trying to
cycle a component.
java.lang.InterruptedException - If the thread is interrupted while waiting for
a component to finish.
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException - If a utility fails to initialize because of
insufficient configuration information.
public void applyConfigUpdate()
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 - If a communication error occurs while
updating a component.
com.endeca.soleng.eac.toolkit.exception.EacComponentControlException - If an error occurs while trying to
update a component.
java.lang.InterruptedException - If the thread is interrupted while waiting for
a component to finish.
com.endeca.soleng.eac.toolkit.exception.AppConfigurationException - If a utility fails to initialize because of
insufficient configuration information.
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.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.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.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.EacComponentControlException
com.endeca.soleng.eac.toolkit.exception.EacProvisioningException
com.endeca.soleng.eac.toolkit.exception.AppConfigurationExceptionpublic java.util.List<DgraphComponent> getDgraphs()
public java.util.List<AgraphComponent> getAgraphs()
public DgraphComponent getDgraphById(java.lang.String dgraphId)
dgraphId - ID of the dgraph to retrieve.
public AgraphComponent getAgraphById(java.lang.String agraphId)
agraphId - ID of the agraph to retrieve.
public java.util.Map<java.lang.String,java.util.List<DgraphComponent>> getDgraphRestartGroups()
public java.util.Map<java.lang.String,java.util.List<AgraphComponent>> getAgraphRestartGroups()
public java.util.List<DgraphComponent> getDgraphsInRestartGroup(java.lang.String restartGroup)
restartGroup - Name of the restart group whose member dgraphs should
be retrieved.
public java.util.List<AgraphComponent> getAgraphsInRestartGroup(java.lang.String restartGroup)
restartGroup - Name of the restart group whose member agraphs should
be retrieved.
public java.util.List<java.lang.String> getRestartGroups()
public void setDgraphs(java.util.List<DgraphComponent> dgraphs)
public void setAgraphs(java.util.List<AgraphComponent> agraphs)
public void addDgraph(DgraphComponent dgraph)
dgraph - public void addAgraph(AgraphComponent agraph)
agraph - 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