GigaSpaces XAP 8.0 API

org.openspaces.grid.esm
Class ESMProxy

java.lang.Object
  extended by org.jini.rio.resources.servicecore.AbstractProxy
      extended by org.openspaces.grid.esm.ESMProxy
All Implemented Interfaces:
com.gigaspaces.grid.esm.ESM, com.gigaspaces.grid.gsa.AgentIdAware, com.gigaspaces.grid.zone.GridZoneProvider, com.gigaspaces.internal.dump.InternalDumpProvider, com.gigaspaces.internal.jvm.JVMInfoProvider, com.gigaspaces.internal.log.InternalLogProvider, com.gigaspaces.internal.os.OSInfoProvider, com.gigaspaces.lrmi.nio.info.NIOInfoProvider, com.gigaspaces.security.service.SecuredService, Serializable, Remote, Administrable, ReferentUuid, SameProxyVersionProvider, org.jini.rio.core.MonitorableService, org.jini.rio.event.EventProducer, org.jini.rio.resources.servicecore.Service, org.jini.rio.watch.Watchable

public class ESMProxy
extends org.jini.rio.resources.servicecore.AbstractProxy
implements ESM, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jini.rio.resources.servicecore.AbstractProxy
server, uuid
 
Method Summary
 int getAgentId()
           
 String getGSAServiceID()
           
 String[] getManagedProcessingUnits()
           
 ScaleStrategyConfig getProcessingUnitScaleStrategyConfig(String processingUnitName)
           
 org.jini.rio.monitor.event.Events getScaleStrategyEvents(long cursor, int maxNumberOfEvents)
           
 boolean isManagingProcessingUnit(String processingUnitName)
           
 boolean isManagingProcessingUnitAndScaleNotInProgress(String processingUnitName)
           
 boolean isServiceSecured()
           
 SecurityContext login(UserDetails userDetails)
           
 void setProcessingUnitElasticProperties(String processingUnitName, Map<String,String> properties)
           
 void setProcessingUnitScaleStrategy(String puName, ScaleStrategyConfig scaleStrategyConfig)
           
 
Methods inherited from class org.jini.rio.resources.servicecore.AbstractProxy
dumpBytes, equals, fetch, fetch, generateDump, generateDump, getAdmin, getCurrentTimestamp, getJVMDetails, getJVMStatistics, getNIODetails, getNIOStatistics, getOSDetails, getOSStatistics, getReferentUuid, getVersion, getZones, hashCode, logEntriesDirect, monitor, ping, register, runGc, startHeartbeat, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
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.zone.GridZoneProvider
getZones
 

Method Detail

getAgentId

public int getAgentId()
               throws RemoteException
Specified by:
getAgentId in interface com.gigaspaces.grid.gsa.AgentIdAware
Throws:
RemoteException

getGSAServiceID

public String getGSAServiceID()
                       throws RemoteException
Specified by:
getGSAServiceID in interface com.gigaspaces.grid.gsa.AgentIdAware
Throws:
RemoteException

getManagedProcessingUnits

public String[] getManagedProcessingUnits()
Specified by:
getManagedProcessingUnits in interface com.gigaspaces.grid.esm.ESM

isServiceSecured

public boolean isServiceSecured()
                         throws RemoteException
Specified by:
isServiceSecured in interface com.gigaspaces.security.service.SecuredService
Throws:
RemoteException

login

public SecurityContext login(UserDetails userDetails)
                      throws SecurityException,
                             RemoteException
Specified by:
login in interface com.gigaspaces.security.service.SecuredService
Throws:
SecurityException
RemoteException

setProcessingUnitElasticProperties

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

setProcessingUnitScaleStrategy

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

getProcessingUnitScaleStrategyConfig

public ScaleStrategyConfig getProcessingUnitScaleStrategyConfig(String processingUnitName)
                                                         throws RemoteException
Throws:
RemoteException

isManagingProcessingUnit

public boolean isManagingProcessingUnit(String processingUnitName)
                                 throws RemoteException
Specified by:
isManagingProcessingUnit in interface com.gigaspaces.grid.esm.ESM
Throws:
RemoteException

isManagingProcessingUnitAndScaleNotInProgress

public boolean isManagingProcessingUnitAndScaleNotInProgress(String processingUnitName)
                                                      throws RemoteException
Specified by:
isManagingProcessingUnitAndScaleNotInProgress in interface com.gigaspaces.grid.esm.ESM
Throws:
RemoteException

getScaleStrategyEvents

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

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.