|
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.ForgeCluster
public class ForgeCluster
Field Summary |
---|
Fields inherited from class com.endeca.soleng.eac.toolkit.base.EacElement |
---|
appName, dataPrefix, eacHost, eacPort, elementId, lockManager, logDir, sslEnabled, workingDir |
Constructor Summary | |
---|---|
ForgeCluster()
Default constructor. |
Method Summary | |
---|---|
void |
addForge(ForgeComponent forge)
Adds a forge to the group. |
void |
archiveLogDir()
|
void |
archiveState()
|
void |
cleanDirs()
|
void |
getData()
|
ForgeComponent |
getForgeById(java.lang.String forgeId)
Retrieves the Forge with the specified ID from the group. |
java.util.List<java.lang.String> |
getForgeGroupNames()
Retrieves a list of all the forge groups with which the group's forges are associated.. |
java.util.Map<java.lang.String,java.util.List<ForgeComponent>> |
getForgeGroups()
Retrieves a map, whose keys are the forge groups defined for the application, and whose values are lists of forges belonging to each forge group. |
java.util.List<ForgeComponent> |
getForges()
|
java.util.List<ForgeComponent> |
getForgesInForgeGroup(java.lang.String forgeGroup)
Retrieves a list of all forges belonging to the specified forge group. |
boolean |
isDefined()
Checks whether the member forges in the group are defined. |
boolean |
isDefinitionChanged()
Checks whether the member forges in the group have changed. |
boolean |
isGetDataInParallel()
|
void |
removeDefinition()
Removes the definition of each defined forge in the group. |
void |
run()
|
void |
setCachedAppDefinition(com.endeca.eac.client.ApplicationType cachedAppDefinition)
|
void |
setDefinition()
Sets the definition of each forge in the group that is not already defined. |
void |
setForges(java.util.List<ForgeComponent> forges)
|
void |
setGetDataInParallel(boolean getDataInParallel)
|
void |
start()
|
void |
stop()
|
void |
updateDefinition()
Updates the definition of each forge 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 ForgeCluster()
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 getData() 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 archiveState() 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<ForgeComponent> getForges()
public ForgeComponent getForgeById(java.lang.String forgeId)
forgeId
- ID of the forge to retrieve.
public java.util.Map<java.lang.String,java.util.List<ForgeComponent>> getForgeGroups()
public java.util.List<ForgeComponent> getForgesInForgeGroup(java.lang.String forgeGroup)
forgeGroup
- Name of the forge group whose member forges should
be retrieved.
public java.util.List<java.lang.String> getForgeGroupNames()
public void setForges(java.util.List<ForgeComponent> forges)
public void addForge(ForgeComponent forge)
forge
- 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