public class ESMProxy extends org.jini.rio.resources.servicecore.AbstractProxy implements ESM, Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getAgentId() |
String |
getGSAServiceID() |
String[] |
getManagedProcessingUnits() |
ScaleStrategyConfig |
getProcessingUnitScaleStrategyConfig(String processingUnitName) |
Remote |
getRemoteApi(String processingUnitName,
String apiName) |
org.jini.rio.monitor.event.Events |
getScaleStrategyEvents(long cursor,
int maxNumberOfEvents) |
boolean |
isManagingProcessingUnit(String processingUnitName) |
boolean |
isManagingProcessingUnitAndScaleNotInProgress(String processingUnitName) |
boolean |
isServiceSecured()
If a security model is defined will return
true . |
SecurityContext |
login(CredentialsProvider credentialsProvider)
Login to a secured service using the provided
credentialsProvider . |
void |
setProcessingUnitElasticProperties(String processingUnitName,
Map<String,String> properties) |
void |
setProcessingUnitScaleStrategy(String puName,
ScaleStrategyConfig scaleStrategyConfig) |
disableLRMIMonitoring, dumpBytes, enableLRMIMonitoring, equals, fetch, fetch, fetchLRMIMonitoringDetails, generateDump, generateDump, getAdmin, getCurrentTimestamp, getJVMDetails, getJVMStatistics, getNIODetails, getNIOStatistics, getOSDetails, getOSStatistics, getReferentUuid, getVersion, getZones, hashCode, intercept, isSecuredProxy, logEntriesDirect, login, monitor, ping, register, reloadMetricConfiguration, runGc, secureAdmin, startHeartbeat, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAdmin
monitor, ping, startHeartbeat
register
getCurrentTimestamp, getOSDetails, getOSStatistics
getJVMDetails, getJVMStatistics, runGc
disableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatistics
getManagerClusterInfo, logEntriesDirect
dumpBytes, generateDump, generateDump, reloadMetricConfiguration
getZones
public int getAgentId() throws RemoteException
getAgentId
in interface AgentIdAware
RemoteException
public String getGSAServiceID() throws RemoteException
getGSAServiceID
in interface AgentIdAware
RemoteException
public String[] getManagedProcessingUnits()
getManagedProcessingUnits
in interface com.gigaspaces.grid.esm.ESM
public boolean isServiceSecured() throws RemoteException
SecuredService
true
.isServiceSecured
in interface SecuredService
true
if secured; false
otherwise.RemoteException
- communication-related exceptions that may occur during the execution
of a remote method call.public SecurityContext login(CredentialsProvider credentialsProvider) throws SecurityException, RemoteException
SecuredService
credentialsProvider
.login
in interface SecuredService
credentialsProvider
- provides credentials to be used for authentication.SecurityException
- if authentication failed for any reason.RemoteException
- communication-related exceptions that may occur during the
execution of a remote method call.public void setProcessingUnitElasticProperties(String processingUnitName, Map<String,String> properties) throws RemoteException
RemoteException
public void setProcessingUnitScaleStrategy(String puName, ScaleStrategyConfig scaleStrategyConfig) throws RemoteException
RemoteException
public ScaleStrategyConfig getProcessingUnitScaleStrategyConfig(String processingUnitName) throws RemoteException
RemoteException
public boolean isManagingProcessingUnit(String processingUnitName) throws RemoteException
isManagingProcessingUnit
in interface com.gigaspaces.grid.esm.ESM
RemoteException
public boolean isManagingProcessingUnitAndScaleNotInProgress(String processingUnitName) throws RemoteException
isManagingProcessingUnitAndScaleNotInProgress
in interface com.gigaspaces.grid.esm.ESM
RemoteException
public org.jini.rio.monitor.event.Events getScaleStrategyEvents(long cursor, int maxNumberOfEvents) throws RemoteException
RemoteException
public Remote getRemoteApi(String processingUnitName, String apiName) throws RemoteException
RemoteException
public void disableAgentFailureDetection(String processingUnitName, long timeout, TimeUnit timeunit) throws RemoteException
ESM
RemoteException
public void enableAgentFailureDetection(String processingUnitName) throws RemoteException
ESM
RemoteException
Copyright © GigaSpaces.