org.apache.whirr.service.elasticsearch
Class ElasticSearchHandler

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

public class ElasticSearchHandler
extends ClusterActionHandlerSupport


Field Summary
static int HTTP_CLIENT_PORT
           
static String ROLE
           
 
Fields inherited from interface org.apache.whirr.service.ClusterActionHandler
BOOTSTRAP_ACTION, CLEANUP_ACTION, CONFIGURE_ACTION, DESTROY_ACTION, START_ACTION, STOP_ACTION
 
Constructor Summary
ElasticSearchHandler()
           
 
Method Summary
protected  void beforeBootstrap(ClusterActionEvent event)
           
protected  void beforeCleanup(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
addRunUrl, addStatement, afterAction, afterBootstrap, afterCleanup, afterConfigure, afterDestroy, afterOtherAction, afterStart, afterStop, beforeAction, beforeDestroy, beforeOtherAction, equals, getCleanupFunction, getConfiguration, getConfiguration, getConfigureFunction, getFunctionName, getInstallFunction, getStartFunction, getStopFunction, hashCode, prepareRemoteFileUrl, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
See Also:
Constant Field Values

HTTP_CLIENT_PORT

public static final int HTTP_CLIENT_PORT
See Also:
Constant Field Values
Constructor Detail

ElasticSearchHandler

public ElasticSearchHandler()
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

beforeStop

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

beforeCleanup

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


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