org.apache.stratos.manager.service
Class InstanceCleanupNotificationService

java.lang.Object
  extended by org.wso2.carbon.core.AbstractAdmin
      extended by org.apache.stratos.manager.service.InstanceCleanupNotificationService

public class InstanceCleanupNotificationService
extends org.wso2.carbon.core.AbstractAdmin

This service will get invoked by Autoscaler when it trying to scale down an instance in order for the instance to perform clean up task before the actual termination.


Field Summary
 
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext
 
Constructor Summary
InstanceCleanupNotificationService()
           
 
Method Summary
 void sendInstanceCleanupNotificationForCluster(String clusterId)
           
 void sendInstanceCleanupNotificationForMember(String memberId)
           
 
Methods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceCleanupNotificationService

public InstanceCleanupNotificationService()
Method Detail

sendInstanceCleanupNotificationForMember

public void sendInstanceCleanupNotificationForMember(String memberId)

sendInstanceCleanupNotificationForCluster

public void sendInstanceCleanupNotificationForCluster(String clusterId)


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