|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivationTaskMBean
Provides information about an activation task, which is initiated by invoking
the ConfigurationManagerMBean activate
operation.
To describe the changes that are being activated in the domain,
this MBean contains one Configuration
object for each change that
was saved to the domain's pending configuration files.
This MBean also contains attributes that describe the status of the activation operation as it attempts to distribute changes to all servers in the domain.
ConfigurationManagerMBean.activate(long)
Field Summary | |
---|---|
static int |
STATE_CANCELING
Indicates that the changes are canceling in the distribution phase. |
static int |
STATE_COMMIT_FAILING
Indicates that the changes are failing in the commit phase. |
static int |
STATE_COMMITTED
Indicates that the changes have been distributed to all servers and made permanent. |
static int |
STATE_DEFERRED
Indicates that the changes are deferred until the server is available. |
static int |
STATE_DISTRIBUTED
Indicates that the changes have been distributed to all servers. |
static int |
STATE_DISTRIBUTING
Indicates that the changes have been validated and are being distributed to the various servers. |
static int |
STATE_FAILED
Indicates that the changes failed in the distribution phase. |
static int |
STATE_NEW
Indicates that the task has been created but distribution has not started. |
static int |
STATE_PENDING
Indicates that the configuration changes require that the server be restarted for the changes to become available. |
Method Summary | |
---|---|
Change[] |
getChanges()
Contains the Change objects that describe the changes that are
being activated. |
long |
getCompletionTime()
The time at which the activation task completes, either by successfully activating changes on all servers, rolling back all changes (because a server was unable to consume the changes), or by timing out. |
String |
getDetails()
Contains all available information about the current activation task in a single String object. |
Exception |
getError()
Returns the exception that describes why the activation has failed. |
long |
getStartTime()
The time at which the ConfigurationManagerMBean activate
operation was invoked. |
int |
getState()
The state of the activation task, which is initiated by invoking the ConfigurationManagerMBean activate operation. |
ServerStatus[] |
getStatusByServer()
The state of the activation task on each server in the domain. |
String |
getUser()
The name of the user who invoked the ConfigurationManagerMBean activate
operation. |
void |
waitForTaskCompletion()
Allows the caller to wait until the activation task completes (either by successfully distributing changes or by rolling back the task) or times out. |
void |
waitForTaskCompletion(long timeout)
Allows the caller to wait until any of the following occurs: The activation task completes (either by successfully distributing changes or by rolling back the task) The activation task times out The number of specified milliseconds elapses |
Methods inherited from interface weblogic.management.mbeanservers.Service |
---|
getName, getParentAttribute, getParentService, getPath, getType |
Field Detail |
---|
static final int STATE_NEW
static final int STATE_DISTRIBUTING
static final int STATE_DISTRIBUTED
static final int STATE_PENDING
static final int STATE_COMMITTED
static final int STATE_FAILED
static final int STATE_CANCELING
static final int STATE_COMMIT_FAILING
static final int STATE_DEFERRED
Method Detail |
---|
int getState()
The state of the activation task, which is initiated by invoking
the ConfigurationManagerMBean activate
operation.
ServerStatus[] getStatusByServer()
The state of the activation task on each server in the domain.
If any server fails to activate the changes, the activation task is rolled back for all servers in the domain.
Exception getError()
Returns the exception that describes why the activation has failed.
To see how each server responded to the activation request, get the
value of this MBean's StatusByServer
attribute.
long getStartTime()
The time at which the ConfigurationManagerMBean activate
operation was invoked.
long getCompletionTime()
The time at which the activation task completes, either by successfully activating changes on all servers, rolling back all changes (because a server was unable to consume the changes), or by timing out.
String getUser()
The name of the user who invoked the ConfigurationManagerMBean activate
operation.
Change[] getChanges()
Contains the Change
objects that describe the changes that are
being activated.
Change
object describes a change to a single
MBean attribute.
String getDetails()
Contains all available information about the current activation task in
a single String
object.
void waitForTaskCompletion()
Allows the caller to wait until the activation task completes (either by successfully distributing changes or by rolling back the task) or times out.
void waitForTaskCompletion(long timeout)
Allows the caller to wait until any of the following occurs:
timeout
- long that specifies the time (milliseconds) to wait for the
activate deployment request to complete.
|
Copyright 1996, 2014, 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.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |