GigaSpaces XAP 9.7.2 API

org.openspaces.grid.esm
Interface ESM

All Superinterfaces:
Administrable, com.gigaspaces.grid.gsa.AgentIdAware, com.gigaspaces.grid.esm.ESM, org.jini.rio.event.EventProducer, com.gigaspaces.grid.zone.GridZoneProvider, com.gigaspaces.internal.dump.InternalDumpProvider, com.gigaspaces.internal.log.InternalLogProvider, com.gigaspaces.internal.jvm.JVMInfoProvider, org.jini.rio.core.MonitorableService, com.gigaspaces.lrmi.nio.info.NIOInfoProvider, com.gigaspaces.internal.os.OSInfoProvider, Remote, com.gigaspaces.security.service.SecuredService, org.jini.rio.resources.servicecore.Service, org.jini.rio.watch.Watchable

public interface ESM
extends com.gigaspaces.grid.esm.ESM

The Elastic Service Manager (ESM) provides the support to deploy, manage and monitor elastic services in the Grid/Cloud.


Method Summary
 void disableAgentFailureDetection(String processingUnitName, long timeout, TimeUnit timeunit)
          Disables failure detection for the agent on the machine that called this method.
 void enableAgentFailureDetection(String processingUnitName)
          Enables failure detection for the agent on the machine that called this method.
 ScaleStrategyConfig getProcessingUnitScaleStrategyConfig(String processingUnitName)
           
 Remote getRemoteApi(String processingUnitName, String apiName)
           
 org.jini.rio.monitor.event.Events getScaleStrategyEvents(long cursor, int maxNumberOfEvents)
           
 void setProcessingUnitElasticProperties(String processingUnitName, Map<String,String> properties)
           
 void setProcessingUnitScaleStrategy(String puName, ScaleStrategyConfig scaleStrategyConfig)
           
 
Methods inherited from interface com.gigaspaces.grid.esm.ESM
getManagedProcessingUnits, isManagingProcessingUnit, isManagingProcessingUnitAndScaleNotInProgress
 
Methods inherited from interface net.jini.admin.Administrable
getAdmin
 
Methods inherited from interface org.jini.rio.core.MonitorableService
monitor, ping, startHeartbeat
 
Methods inherited from interface org.jini.rio.event.EventProducer
register
 
Methods inherited from interface org.jini.rio.watch.Watchable
fetch, fetch
 
Methods inherited from interface com.gigaspaces.internal.os.OSInfoProvider
getCurrentTimestamp, getOSDetails, getOSStatistics
 
Methods inherited from interface com.gigaspaces.internal.jvm.JVMInfoProvider
getJVMDetails, getJVMStatistics, runGc
 
Methods inherited from interface com.gigaspaces.lrmi.nio.info.NIOInfoProvider
disableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatistics
 
Methods inherited from interface com.gigaspaces.internal.log.InternalLogProvider
logEntriesDirect
 
Methods inherited from interface com.gigaspaces.internal.dump.InternalDumpProvider
dumpBytes, generateDump, generateDump
 
Methods inherited from interface com.gigaspaces.grid.gsa.AgentIdAware
getAgentId, getGSAServiceID
 
Methods inherited from interface com.gigaspaces.grid.zone.GridZoneProvider
getZones
 
Methods inherited from interface com.gigaspaces.security.service.SecuredService
isServiceSecured, login
 

Method Detail

setProcessingUnitElasticProperties

void setProcessingUnitElasticProperties(String processingUnitName,
                                        Map<String,String> properties)
                                        throws RemoteException
Throws:
RemoteException

setProcessingUnitScaleStrategy

void setProcessingUnitScaleStrategy(String puName,
                                    ScaleStrategyConfig scaleStrategyConfig)
                                    throws RemoteException
Throws:
RemoteException

getProcessingUnitScaleStrategyConfig

ScaleStrategyConfig getProcessingUnitScaleStrategyConfig(String processingUnitName)
                                                         throws RemoteException
Throws:
RemoteException

getScaleStrategyEvents

org.jini.rio.monitor.event.Events getScaleStrategyEvents(long cursor,
                                                         int maxNumberOfEvents)
                                                         throws RemoteException
Throws:
RemoteException

getRemoteApi

Remote getRemoteApi(String processingUnitName,
                    String apiName)
                    throws RemoteException
Throws:
RemoteException

disableAgentFailureDetection

void disableAgentFailureDetection(String processingUnitName,
                                  long timeout,
                                  TimeUnit timeunit)
                                  throws RemoteException
Disables failure detection for the agent on the machine that called this method. This suppresses the creation of a new machine instead of the specified GSA if it is no longer running. It does not suppress the healing of GSCs on that GSA. Once the specified timeout expires, the failure detection is enabled automatically.

Throws:
RemoteException
Since:
9.7

enableAgentFailureDetection

void enableAgentFailureDetection(String processingUnitName)
                                 throws RemoteException
Enables failure detection for the agent on the machine that called this method.

Throws:
RemoteException
Since:
9.7

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.