electric.cluster.manager
Class ClusterManager

java.lang.Object
  extended byelectric.cluster.manager.ClusterManager
All Implemented Interfaces:
IClusterConstants, IClusterManager, IEXMLLoggingConstants, IGLUELoggingConstants, ILoggingConstants

public class ClusterManager
extends java.lang.Object
implements IClusterManager, IClusterConstants, IGLUELoggingConstants

ClusterManager

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.cluster.IClusterConstants
APP_NAME, CLUSTER_MONITOR, DISABLE_HTTP_BALANCING, DISABLE_HTTP_FAILOVER, DISABLE_PERMESSAGE_BALANCING, DISABLE_PERMESSAGE_FAILOVER, ENTERPRISE_PATH, ENTERPRISE_SERVICE_PATH, GLUE_MASTER_NODE, GLUE_WEB_SERVER_PORT, JAR_EXT, LIVENESS_PATH, LIVENESS_SERVICE_PATH, LOCALHOST, LOCALHOST_RANDOM_PORT_URL, MANAGER_PATH, MASTER, NODE_MODE, PER_MSG_BALANCING, REGISTRY_PATH, SLAVE, SYSTEM_SERVICE, WAR_SUFFIX, WSSURL
 
Fields inherited from interface electric.glue.IGLUELoggingConstants
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
ClusterManager(IApplicationServer masterServer)
           
 
Method Summary
 void livenessPing()
           
 void updateSlave(java.lang.String slavePath)
          Upload fresh copies of all applications to the specified slave
 void updateSlave(java.lang.String slavePath, java.lang.String applicationName)
          Upload fresh copy of application to the specified slave
 void updateSlaves(java.lang.String applicationPath)
           
 void updateSlavesOnRemove(java.lang.String applicationName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterManager

public ClusterManager(IApplicationServer masterServer)
               throws java.lang.Exception
Parameters:
masterServer -
Throws:
java.lang.Exception
Method Detail

updateSlave

public void updateSlave(java.lang.String slavePath)
Description copied from interface: IClusterManager
Upload fresh copies of all applications to the specified slave

Specified by:
updateSlave in interface IClusterManager
Parameters:
slavePath -

updateSlave

public void updateSlave(java.lang.String slavePath,
                        java.lang.String applicationName)
Description copied from interface: IClusterManager
Upload fresh copy of application to the specified slave

Specified by:
updateSlave in interface IClusterManager
Parameters:
slavePath -
applicationName -

updateSlaves

public void updateSlaves(java.lang.String applicationPath)
                  throws java.lang.Exception
Parameters:
applicationPath -
Throws:
java.lang.Exception

updateSlavesOnRemove

public void updateSlavesOnRemove(java.lang.String applicationName)
                          throws java.lang.Exception
Specified by:
updateSlavesOnRemove in interface IClusterManager
Parameters:
applicationName -
Throws:
java.lang.Exception

livenessPing

public void livenessPing()
Specified by:
livenessPing in interface IClusterManager


copyright© 2001-2004 by webMethods All Rights Reserved.