@Contract
public interface ResourceGroupStateHelper
Modifier and Type | Method and Description |
---|---|
boolean |
isActiveInAdmin(ResourceGroupMBean resourceGroup)
Returns whether the specified resource group is in the admin state on the current server.
|
boolean |
isActiveInRunning(ResourceGroupMBean resourceGroup)
Returns whether the specified resource group is in the running state on the current server.
|
boolean |
isDesiredStateAdmin(ResourceGroupMBean resourceGroup)
Returns whether the specified resource group is in the admin state on the current server.
|
boolean |
isDesiredStateRunning(ResourceGroupMBean resourceGroup)
Returns whether the specified resource group is in the running state on the current server.
|
boolean |
isShuttingDown(ResourceGroupMBean resourceGroup)
Returns whether the specified resource group is in the shutting down state on the current server.
|
boolean |
isSuspending(ResourceGroupMBean resourceGroup)
Returns whether the specified resource group is in the shutting down state on the current server.
|
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."
|
boolean isDesiredStateAdmin(ResourceGroupMBean resourceGroup) throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
boolean isDesiredStateRunning(ResourceGroupMBean resourceGroup) throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
boolean isActiveInAdmin(ResourceGroupMBean resourceGroup) throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
boolean isActiveInRunning(ResourceGroupMBean resourceGroup) throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
boolean isShuttingDown(ResourceGroupMBean resourceGroup) throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
boolean isSuspending(ResourceGroupMBean resourceGroup) throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
void markShutdownAsAdmin() throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
void markAdminAsRunning() throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
void markRunningAsAdmin() throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
void markAdminAsShutdown() throws ResourceGroupLifecycleException
ResourceGroupLifecycleException