public class ServiceGridAdminDriver extends InternalAdminDriver
Modifier and Type | Class and Description |
---|---|
class |
ServiceGridAdminDriver.SlaListener |
InternalAdminDriver.UndeployListener
admin, attributeStore, logger
Constructor and Description |
---|
ServiceGridAdminDriver(InternalAdmin admin,
com.gigaspaces.grid.gsm.GSM gsm) |
afterDeploy, afterUndeploy, beforeDeploy, beforeUndeployK8s, deleteTieredStorageData, deploy, deploy, deploy, getUndeployedPu, getUnDeployedPus, hasZkNode, initNameIfNeeded, isPersistent, postDeploy, postUndeployK8s, preDeploy, scaleUpDown, setUndeployedInstanceIp, setUndeployedLeader, undeployAsync, 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 boolean isDeployed(String puName)
InternalAdminDriver
isDeployed
in class InternalAdminDriver
protected void deploy(ProcessingUnitConfig puConfig, String applicationName)
deploy
in class InternalAdminDriver
public void deleteSpaceInstancesPersistentData(UndeployedPuMetaData puMetaData, String spaceName, InternalSpaceDeleteInstancePersistentDataEventListener listener)
deleteSpaceInstancesPersistentData
in class InternalAdminDriver
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 com.gigaspaces.grid.gsm.PUDetails getPuDetails(ProcessingUnit pu) throws RemoteException
getPuDetails
in class InternalAdminDriver
RemoteException
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
public boolean checkIfPartitionHasAlreadyProvidedResource(ProcessingUnit pu, Integer partitionId, String memory, String cpu)
checkIfPartitionHasAlreadyProvidedResource
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.