@Service public class PartitionResourceGroupStateHelperImpl extends ResourceGroupStateHelperImpl
stateManager
Constructor and Description |
---|
PartitionResourceGroupStateHelperImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isRGActiveIn(ResourceGroupMBean resourceGroupMBean,
java.lang.String rgState) |
void |
markAdminAsRunning()
Changes the runtime (not persistent) state of every resource group on the current server with runtime state "admin" to "running."
|
void |
markAdminAsShutdown()
Changes the runtime (not persistent) state of every resource group on the current server with runtime state "admin" to "shutdown."
|
void |
markRunningAsAdmin()
Changes the runtime (not persistent) state of every resource group on the current server with runtime state "running" to "admin."
|
void |
markShutdownAsAdmin()
Changes the runtime (not persistent) state of every resource group on the current server with the runtime state "shutdown" to "admin."
|
getDomain, getPartitionName, getRuntime, getServerName, isActiveInAdmin, isActiveInRunning, isDesiredStateAdmin, isDesiredStateRunning, isShuttingDown, isSuspending
public PartitionResourceGroupStateHelperImpl()
protected boolean isRGActiveIn(ResourceGroupMBean resourceGroupMBean, java.lang.String rgState) throws ResourceGroupLifecycleException
isRGActiveIn
in class ResourceGroupStateHelperImpl
ResourceGroupLifecycleException
public void markShutdownAsAdmin() throws ResourceGroupLifecycleException
ResourceGroupStateHelper
ResourceGroupLifecycleException
public void markAdminAsRunning() throws ResourceGroupLifecycleException
ResourceGroupStateHelper
ResourceGroupLifecycleException
public void markRunningAsAdmin() throws ResourceGroupLifecycleException
ResourceGroupStateHelper
ResourceGroupLifecycleException
public void markAdminAsShutdown() throws ResourceGroupLifecycleException
ResourceGroupStateHelper
ResourceGroupLifecycleException