org.apache.whirr.service.solr
Class SolrClusterActionHandler

java.lang.Object
  extended by org.apache.whirr.service.ClusterActionHandlerSupport
      extended by org.apache.whirr.service.solr.SolrClusterActionHandler
All Implemented Interfaces:
ClusterActionHandler

public class SolrClusterActionHandler
extends ClusterActionHandlerSupport


Field Summary
static String SOLR_JAVA_OPTS
           
static String SOLR_ROLE
           
 
Fields inherited from interface org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION
 
Constructor Summary
SolrClusterActionHandler()
           
 
Method Summary
protected  void afterStart(ClusterActionEvent event)
           
protected  void beforeBootstrap(ClusterActionEvent event)
           
protected  void beforeConfigure(ClusterActionEvent event)
           
protected  void beforeStart(ClusterActionEvent event)
           
protected  void beforeStop(ClusterActionEvent event)
           
 String getRole()
           
 
Methods inherited from class org.apache.whirr.service.ClusterActionHandlerSupport
addClusterToEtcHostsAndFirewall, addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStop, beforeAction, beforeCleanup, beforeDestroy, beforeOtherAction, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, handleFirewallRules, hashCode, prepareRemoteFileUrl, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SOLR_ROLE

public static final String SOLR_ROLE
See Also:
Constant Field Values

SOLR_JAVA_OPTS

public static final String SOLR_JAVA_OPTS
See Also:
Constant Field Values
Constructor Detail

SolrClusterActionHandler

public SolrClusterActionHandler()
Method Detail

getRole

public String getRole()

beforeBootstrap

protected void beforeBootstrap(ClusterActionEvent event)
                        throws IOException
Overrides:
beforeBootstrap in class ClusterActionHandlerSupport
Throws:
IOException

beforeConfigure

protected void beforeConfigure(ClusterActionEvent event)
                        throws IOException
Overrides:
beforeConfigure in class ClusterActionHandlerSupport
Throws:
IOException

beforeStart

protected void beforeStart(ClusterActionEvent event)
                    throws IOException
Overrides:
beforeStart in class ClusterActionHandlerSupport
Throws:
IOException

afterStart

protected void afterStart(ClusterActionEvent event)
                   throws IOException
Overrides:
afterStart in class ClusterActionHandlerSupport
Throws:
IOException

beforeStop

protected void beforeStop(ClusterActionEvent event)
                   throws IOException
Overrides:
beforeStop in class ClusterActionHandlerSupport
Throws:
IOException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.