public class ServiceGridAdminDriver extends InternalAdminDriver
admin, attributeStore, logger
Constructor and Description |
---|
ServiceGridAdminDriver(InternalAdmin admin,
com.gigaspaces.grid.gsm.GSM gsm) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterDeploy(ProcessingUnit pu,
ProcessingUnitConfig puConfig,
long deadline) |
protected void |
deploy(ProcessingUnitConfig puConfig,
String applicationName) |
List<File> |
generateDump() |
org.jini.rio.monitor.ProvisionMonitorAdmin |
getGSMAdmin() |
QuiesceManager |
getQuiesceManager() |
ResourcesResponse |
getResources(String serviceName,
String partitionId) |
protected boolean |
implicitContainers() |
boolean |
isDeployed(String puName)
For service grid only
|
protected boolean |
isOrphanInstancesBeingProvisioned(String puName) |
void |
scaleIn(ProcessingUnit pu,
int factor) |
void |
scaleOut(ProcessingUnit pu,
int factor,
String memory,
String cpu) |
void |
scaleUpDownUnsafe(ProcessingUnit pu,
Integer partitionId,
String memory,
String cpu,
Long timeout,
PuScaleVStatusChangedEventListener listener) |
protected void |
undeploy(String puName) |
void |
validateScaleUpDownInput(String memory,
String cpu) |
afterUndeploy, beforeDeploy, deploy, deploy, deploy, hasZkNode, scaleUpDown, undeployAsync
public ServiceGridAdminDriver(InternalAdmin admin, com.gigaspaces.grid.gsm.GSM gsm) throws RemoteException
RemoteException
public QuiesceManager getQuiesceManager()
getQuiesceManager
in class InternalAdminDriver
public org.jini.rio.monitor.ProvisionMonitorAdmin getGSMAdmin()
protected boolean implicitContainers()
implicitContainers
in class InternalAdminDriver
public List<File> generateDump()
generateDump
in class InternalAdminDriver
public boolean isDeployed(String puName)
InternalAdminDriver
isDeployed
in class InternalAdminDriver
protected void deploy(ProcessingUnitConfig puConfig, String applicationName)
deploy
in class InternalAdminDriver
protected void afterDeploy(ProcessingUnit pu, ProcessingUnitConfig puConfig, long deadline) throws IOException
afterDeploy
in class InternalAdminDriver
IOException
public void scaleIn(ProcessingUnit pu, int factor)
scaleIn
in class InternalAdminDriver
public void scaleOut(ProcessingUnit pu, int factor, String memory, String cpu)
scaleOut
in class InternalAdminDriver
public void scaleUpDownUnsafe(ProcessingUnit pu, Integer partitionId, String memory, String cpu, Long timeout, PuScaleVStatusChangedEventListener listener)
scaleUpDownUnsafe
in class InternalAdminDriver
public void validateScaleUpDownInput(String memory, String cpu)
validateScaleUpDownInput
in class InternalAdminDriver
protected void undeploy(String puName)
undeploy
in class InternalAdminDriver
public ResourcesResponse getResources(String serviceName, String partitionId)
getResources
in class InternalAdminDriver
protected boolean isOrphanInstancesBeingProvisioned(String puName)
isOrphanInstancesBeingProvisioned
in class InternalAdminDriver
Copyright © GigaSpaces.