|
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 PartitionLifeCycleRuntimeMBean
Method Summary | |
---|---|
abstract PartitionLifeCycleTaskRuntimeMBean |
forceShutdown() Forces the shutdown of the partition. |
abstract PartitionLifeCycleTaskRuntimeMBean |
forceShutdown(TargetMBean[] targets) Forces the shutdown of the partition on specified targets. |
abstract PartitionLifeCycleTaskRuntimeMBean |
forceSuspend() Forcefully suspends the partition. |
abstract PartitionLifeCycleTaskRuntimeMBean |
forceSuspend(TargetMBean[] targets) Forcefully suspends the partition on specified targets. |
abstract ResourceGroupLifeCycleRuntimeMBean[] |
getResourceGroupLifeCycleRuntimes() Get resource group lifecycle tasks for this partition. |
abstract String |
getState() The current state of the partition. |
abstract String |
getState(ServerMBean serverMBean) Get the state of partition on a specific server. |
abstract PartitionLifeCycleTaskRuntimeMBean[] |
getTasks() Get preexisting Partition Lifecycle Tasks. |
abstract ResourceGroupLifeCycleRuntimeMBean |
lookupResourceGroupLifeCycleRuntime(String name) Lookup named resource group lifecycle task for this partition. |
abstract PartitionLifeCycleTaskRuntimeMBean |
lookupTask(String taskName) Get preexisting Partition Lifecycle Task. |
abstract void |
purgeTasks() Clears the retained task collection. |
abstract PartitionLifeCycleTaskRuntimeMBean |
resume() Transitions the partition from ADMIN to RUNNING state. |
abstract PartitionLifeCycleTaskRuntimeMBean |
resume(TargetMBean[] targets) Transitions the partition from ADMIN to RUNNING state on specified targets.. |
abstract PartitionLifeCycleTaskRuntimeMBean |
shutdown() Shuts down the partition gracefully on all targets. |
abstract PartitionLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions) Shuts down a partition gracefully. |
abstract PartitionLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions) Gracefully shuts down a partition. |
abstract PartitionLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions, TargetMBean[] targets) Gracefully shuts down a partition. |
abstract PartitionLifeCycleTaskRuntimeMBean |
shutdown(int timeout, boolean ignoreSessions, TargetMBean[] targets) Shuts down a partition gracefully. |
abstract PartitionLifeCycleTaskRuntimeMBean |
shutdown(TargetMBean[] targets) Shuts down the partition gracefully. |
abstract PartitionLifeCycleTaskRuntimeMBean |
start() Starts partition. |
abstract PartitionLifeCycleTaskRuntimeMBean |
start(String initialState, int timeOut) Starts the partition in initalState within the specified timeOut |
abstract PartitionLifeCycleTaskRuntimeMBean |
start(TargetMBean[] targets) Starts the partition on specified targets. |
abstract PartitionLifeCycleTaskRuntimeMBean |
startInAdmin() Starts the partition in the admin state. |
abstract PartitionLifeCycleTaskRuntimeMBean |
startInAdmin(TargetMBean[] targets) Starts the partition in the admin state. |
abstract PartitionLifeCycleTaskRuntimeMBean |
suspend() Gracefully suspends the partition to ADMIN state. |
abstract PartitionLifeCycleTaskRuntimeMBean |
suspend(int timeout, boolean ignoreSessions) Transitions the partition from RUNNING to ADMIN state gracefully. |
abstract PartitionLifeCycleTaskRuntimeMBean |
suspend(int timeout, boolean ignoreSessions, TargetMBean[] targets) Transitions the partition from RUNNING to ADMIN state gracefully on specified targets. |
abstract PartitionLifeCycleTaskRuntimeMBean |
suspend(TargetMBean[] targets) Gracefully suspends the partition 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 |
---|
PartitionLifeCycleTaskRuntimeMBean start() throws PartitionLifeCycleException
Starts partition.
PartitionLifeCycleException
- If start operation failsString getState()
The current state of the partition.
PartitionLifeCycleTaskRuntimeMBean[] getTasks()
Get preexisting Partition Lifecycle Tasks.
PartitionLifeCycleTaskRuntimeMBean lookupTask(String taskName)
Get preexisting Partition Lifecycle Task.
taskName
-ResourceGroupLifeCycleRuntimeMBean[] getResourceGroupLifeCycleRuntimes()
Get resource group lifecycle tasks for this partition.
ResourceGroupLifeCycleRuntimeMBean lookupResourceGroupLifeCycleRuntime(String name)
Lookup named resource group lifecycle task for this partition.
name
- resource lifecycle namePartitionLifeCycleTaskRuntimeMBean start(TargetMBean[] targets) throws PartitionLifeCycleException
Starts the partition on specified targets.
targets
- the specific targets on which to start this partitionPartitionLifeCycleException
- if the start failsPartitionLifeCycleTaskRuntimeMBean startInAdmin(TargetMBean[] targets) throws PartitionLifeCycleException
Starts the partition in the admin state.
targets
- the specific targets on which to start this partition in "admin" statePartitionLifeCycleException
- if the start failsPartitionLifeCycleTaskRuntimeMBean startInAdmin() throws PartitionLifeCycleException
Starts the partition in the admin state.
PartitionLifeCycleException
- if the start failsPartitionLifeCycleTaskRuntimeMBean start(String initialState, int timeOut) throws PartitionLifeCycleException, InterruptedException
Starts the partition in initalState within the specified timeOut
initialState
- can be can be ADMIN or RUNNING, Default is RUNNINGtimeOut
- Specifies the number of milliseconds to start a Partition. Throws InterruptedException if Partition is unable to start during that duration and leaves the Partition in UNKNOWN state. Default is 60000msInterruptedException
PartitionLifeCycleException
PartitionLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions) throws PartitionLifeCycleException
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.PartitionLifeCycleException
- If the partition fails to gracefully shutdown. A PartitionLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.PartitionLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions, boolean waitForAllSessions, TargetMBean[] targets) throws PartitionLifeCycleException
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 partitionPartitionLifeCycleException
- If the partition fails to gracefully shutdown. A PartitionLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.PartitionLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions) throws PartitionLifeCycleException
Shuts down a partition 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.PartitionLifeCycleException
- Thrown if the partition cannot gracefully shutdown. Use the forceShutdown command to shutdown the partition.PartitionLifeCycleTaskRuntimeMBean shutdown(int timeout, boolean ignoreSessions, TargetMBean[] targets) throws PartitionLifeCycleException
Shuts down a partition 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 partitionPartitionLifeCycleException
- Thrown if the partition cannot gracefully shutdown. Use the forceShutdown command to shutdown the partition.PartitionLifeCycleTaskRuntimeMBean shutdown(TargetMBean[] targets) throws PartitionLifeCycleException
Shuts down the partition gracefully. (equivalent to shutdown(targets, 0, false)).
targets
- the specific targets on which to start this partitionPartitionLifeCycleException
- if the shutdown failsPartitionLifeCycleTaskRuntimeMBean shutdown() throws PartitionLifeCycleException
Shuts down the partition gracefully on all targets.
PartitionLifeCycleException
- if the shutdown failsPartitionLifeCycleTaskRuntimeMBean forceShutdown(TargetMBean[] targets) throws PartitionLifeCycleException
Forces the shutdown of the partition on specified targets.
targets
- the specific targets on which to start this partitionPartitionLifeCycleException
- if the partition fails to shut downPartitionLifeCycleTaskRuntimeMBean forceShutdown() throws PartitionLifeCycleException
Forces the shutdown of the partition.
PartitionLifeCycleException
- if the partition fails to shut downPartitionLifeCycleTaskRuntimeMBean suspend(int timeout, boolean ignoreSessions, TargetMBean[] targets) throws PartitionLifeCycleException
RUNNING
to ADMIN
state gracefully on specified targets.
Applications are in admin mode. Inflight work is completed.
timeout
- Seconds to wait for the partition to transition gracefully. The partition automatically calls PartitionLifeCycleRuntimeMBean.forceSuspend()
after timeout.ignoreSessions
- drop inflight HTTP sessions during graceful suspendtargets
- the specific targets on which to start this partitionPartitionLifeCycleException
- partition failed to suspend gracefully. A PartitionLifeCycleRuntimeMBean.forceSuspend()
or a PartitionLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.PartitionLifeCycleTaskRuntimeMBean suspend(int timeout, boolean ignoreSessions) throws PartitionLifeCycleException
RUNNING
to ADMIN
state gracefully.
Applications are in admin mode. Inflight work is completed.
timeout
- Seconds to wait for the partition to transition gracefully. The partition automatically calls PartitionLifeCycleRuntimeMBean.forceSuspend()
after timeout.ignoreSessions
- drop inflight HTTP sessions during graceful suspendPartitionLifeCycleException
- partition failed to suspend gracefully. A PartitionLifeCycleRuntimeMBean.forceSuspend()
or a PartitionLifeCycleRuntimeMBean.forceShutdown()
operation can be invoked.PartitionLifeCycleTaskRuntimeMBean suspend(TargetMBean[] targets) throws PartitionLifeCycleException
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 partitionPartitionLifeCycleException
- If the operation failsPartitionLifeCycleRuntimeMBean.suspend(int, boolean)
PartitionLifeCycleTaskRuntimeMBean suspend() throws PartitionLifeCycleException
ADMIN
state. (equivalent to suspend(0, false)) New requests are rejected and inflight work is allowed to complete.PartitionLifeCycleException
- If the operation failsPartitionLifeCycleRuntimeMBean.suspend(int, boolean)
PartitionLifeCycleTaskRuntimeMBean forceSuspend(TargetMBean[] targets) throws PartitionLifeCycleException
targets
- the specific targets on which to start this partitionPartitionLifeCycleException
- the partition could not suspend.PartitionLifeCycleTaskRuntimeMBean forceSuspend() throws PartitionLifeCycleException
PartitionLifeCycleException
- the partition could not suspend.PartitionLifeCycleTaskRuntimeMBean resume(TargetMBean[] targets) throws PartitionLifeCycleException
ADMIN
to RUNNING
state on specified targets..targets
- the specific targets on which to start this partitionPartitionLifeCycleException
- If the resume operation failsPartitionLifeCycleTaskRuntimeMBean resume() throws PartitionLifeCycleException
ADMIN
to RUNNING
state.PartitionLifeCycleException
- If the resume operation failsvoid purgeTasks()
String getState(ServerMBean serverMBean) throws PartitionLifeCycleException
serverMBean
-PartitionLifeCycleException
|
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 |