|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceGroupLifeCycleRuntimeMBean
Method Summary | |
---|---|
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
forceShutdown() Forces the shutdown of the resource group. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
forceShutdown(TargetMBean[] targets) Forces the shutdown of the resource group on specified targets. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
forceSuspend() Forcefully suspends the resource group. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
forceSuspend(TargetMBean[] targets) Forcefully suspends the resource group on specified targets. |
abstract String |
getState() Current resource group state. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean[] |
getTasks() Get preexisting Resource Group Lifecycle Tasks |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
lookupTask(String taskName) Get preexisting Partition Lifecycle Task. |
abstract void |
purgeTasks() Clears the retained task collection. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
resume() Transitions the resource group from ADMIN to RUNNING state. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
resume(TargetMBean[] targets) Transitions the resource group from ADMIN to RUNNING state on specified targets. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
shutdown() Shuts down the resource group gracefully on all targets. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions) Shuts down a resource group gracefully. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions) Gracefully shuts down a resource group. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions, TargetMBean[] targets) Gracefully shuts down a resource group. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions, TargetMBean[] targets) Shuts down a resource group gracefully. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
shutdown(TargetMBean[] targets) Shuts down the resource group gracefully. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
start() Starts resource group. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
start(TargetMBean[] targets) Starts the resource group on specified targets. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
startInAdmin() Starts the resource group in the admin state in all the targets |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
startInAdmin(TargetMBean[] targets) Starts the resource group in the admin state in specified targets |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
suspend() Gracefully suspends the resource group to ADMIN state. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
suspend(int timeout, boolean ignoreSessions) Transitions the resource group from RUNNING to ADMIN state gracefully. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
suspend(int timeout, boolean ignoreSessions, TargetMBean[] targets) Transitions the resource group from RUNNING to ADMIN state gracefully on specified targets. |
abstract ResourceGroupLifeCycleTaskRuntimeMBean |
suspend(TargetMBean[] targets) Gracefully suspends the resource group to ADMIN state. |
Methods inherited from interface weblogic.management.runtime.RuntimeMBean |
---|
addPropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
ResourceGroupLifeCycleTaskRuntimeMBean start() throws ResourceGroupLifecycleException
Starts resource group.
ResourceGroupLifecycleException
- if start operation failsString getState()
Current resource group state.
ResourceGroupLifeCycleTaskRuntimeMBean[] getTasks()
ResourceGroupLifeCycleTaskRuntimeMBean lookupTask(String taskName)
Get preexisting Partition Lifecycle Task.
taskName
-ResourceGroupLifeCycleTaskRuntimeMBean start(TargetMBean[] targets) throws ResourceGroupLifecycleException
Starts the resource group on specified targets.
targets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- if the start failsResourceGroupLifeCycleTaskRuntimeMBean startInAdmin(TargetMBean[] targets) throws ResourceGroupLifecycleException
Starts the resource group in the admin state in specified targets
targets
- the specific targets on which to start this resource group in "admin" stateResourceGroupLifecycleException
- if the start failsResourceGroupLifeCycleTaskRuntimeMBean startInAdmin() throws ResourceGroupLifecycleException
Starts the resource group in the admin state in all the targets
ResourceGroupLifecycleException
- if the start failsResourceGroupLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions) throws ResourceGroupLifecycleException
timeout
- Number of seconds to wait before aborting inflight work and force shutting down the server.ignoreSessions
- Set to true
to ignore pending HTTP sessions during inflight work handling.waitForAllSessions
- Set to true
to wait for all HTTP sessions duirng inflight work handling; false
to wait for non-persisted HTTP sessions only.ResourceGroupLifecycleException
- If the resource group fails to gracefully shutdown. A ResourceGroupLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.ResourceGroupLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions, TargetMBean[] targets) throws ResourceGroupLifecycleException
timeout
- Number of seconds to wait before aborting inflight work and force shutting down the server.ignoreSessions
- Set to true
to ignore pending HTTP sessions during inflight work handling.waitForAllSessions
- Set to true
to wait for all HTTP sessions duirng inflight work handling; false
to wait for non-persisted HTTP sessions only.targets
- the specific targets on which to shut down this resource groupResourceGroupLifecycleException
- If the resource group fails to gracefully shutdown. A ResourceGroupLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.ResourceGroupLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions, TargetMBean[] targets) throws ResourceGroupLifecycleException
Shuts down a resource group gracefully. (equivalent to shutdown(timeout, ignoreSessions, false, targets)).
timeout
- Number of seconds to wait before aborting inflight work and shutting down the server.ignoreSessions
- true
indicates ignore pending HTTP sessions during inflight work handling.targets
- the specific targets on which to shut down this resource groupResourceGroupLifecycleException
- Thrown if the resource group cannot gracefully shutdown. Use the forceShutdown command to shutdown the resource group.ResourceGroupLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions) throws ResourceGroupLifecycleException
Shuts down a resource group gracefully. (equivalent to shutdown(timeout, ignoreSessions, false, targets)).
timeout
- Number of seconds to wait before aborting inflight work and shutting down the server.ignoreSessions
- true
indicates ignore pending HTTP sessions during inflight work handling.ResourceGroupLifecycleException
- Thrown if the resource group cannot gracefully shutdown. Use the forceShutdown command to shutdown the resource group.ResourceGroupLifeCycleTaskRuntimeMBean shutdown(TargetMBean[] targets) throws ResourceGroupLifecycleException
Shuts down the resource group gracefully. (equivalent to shutdown(targets, 0, false)).
targets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- if the shutdown failsResourceGroupLifeCycleTaskRuntimeMBean shutdown() throws ResourceGroupLifecycleException
Shuts down the resource group gracefully on all targets.
ResourceGroupLifecycleException
- if the shutdown failsResourceGroupLifeCycleTaskRuntimeMBean forceShutdown(TargetMBean[] targets) throws ResourceGroupLifecycleException
Forces the shutdown of the resource group on specified targets.
targets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- if the resource group fails to shut downResourceGroupLifeCycleTaskRuntimeMBean forceShutdown() throws ResourceGroupLifecycleException
Forces the shutdown of the resource group.
ResourceGroupLifecycleException
- if the resource group fails to shut downResourceGroupLifeCycleTaskRuntimeMBean suspend(int timeout, boolean ignoreSessions, TargetMBean[] targets) throws ResourceGroupLifecycleException
RUNNING
to ADMIN
state gracefully on specified targets.
Applications are in admin mode. Inflight work is completed.
timeout
- Seconds to wait for the resource group to transition gracefully. The resource group automatically calls ResourceGroupLifeCycleRuntimeMBean.forceSuspend()
after timeout.ignoreSessions
- drop inflight HTTP sessions during graceful suspendtargets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- resource group failed to suspend gracefully. A ResourceGroupLifeCycleRuntimeMBean.forceSuspend()
or a ResourceGroupLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.ResourceGroupLifeCycleTaskRuntimeMBean suspend(int timeout, boolean ignoreSessions) throws ResourceGroupLifecycleException
RUNNING
to ADMIN
state gracefully.
Applications are in admin mode. Inflight work is completed.
timeout
- Seconds to wait for the resource group to transition gracefully. The resource group automatically calls ResourceGroupLifeCycleRuntimeMBean.forceSuspend()
after timeout.ignoreSessions
- drop inflight HTTP sessions during graceful suspendResourceGroupLifecycleException
- resource group failed to suspend gracefully. A ResourceGroupLifeCycleRuntimeMBean.forceSuspend()
or a ResourceGroupLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.ResourceGroupLifeCycleTaskRuntimeMBean suspend(TargetMBean[] targets) throws ResourceGroupLifecycleException
ADMIN
state. (equivalent to suspend(0, false)) New requests are rejected and inflight work is allowed to complete.targets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- If the operation failsResourceGroupLifeCycleRuntimeMBean.suspend(int, boolean)
ResourceGroupLifeCycleTaskRuntimeMBean suspend() throws ResourceGroupLifecycleException
ADMIN
state. (equivalent to suspend(0, false)) New requests are rejected and inflight work is allowed to complete.ResourceGroupLifecycleException
- If the operation failsResourceGroupLifeCycleRuntimeMBean.suspend(int, boolean)
ResourceGroupLifeCycleTaskRuntimeMBean forceSuspend(TargetMBean[] targets) throws ResourceGroupLifecycleException
targets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- the resource group could not suspend.ResourceGroupLifeCycleTaskRuntimeMBean forceSuspend() throws ResourceGroupLifecycleException
ResourceGroupLifecycleException
- the resource group could not suspend.ResourceGroupLifeCycleTaskRuntimeMBean resume(TargetMBean[] targets) throws ResourceGroupLifecycleException
ADMIN
to RUNNING
state on specified targets.targets
- the specific targets on which to start this resource groupResourceGroupLifecycleException
- If the resume operation failsResourceGroupLifeCycleTaskRuntimeMBean resume() throws ResourceGroupLifecycleException
ADMIN
to RUNNING
state.ResourceGroupLifecycleException
- If the resume operation failsvoid purgeTasks()
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |