public class ActiveOperation<T extends ActiveOperation<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ActiveOperation.AccessMechanism |
static class |
ActiveOperation.ExecutionStatus |
Constructor and Description |
---|
ActiveOperation(String key) |
Modifier and Type | Method and Description |
---|---|
ActiveOperation.AccessMechanism |
accessMechanism()
The mechanism used to submit a request to the server.
|
T |
accessMechanism(ActiveOperation.AccessMechanism value)
The mechanism used to submit a request to the server.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
List<Property> |
address()
The address of the resource targeted by the operation.
|
T |
address(List<org.jboss.dmr.Property> value)
The address of the resource targeted by the operation.
|
T |
address(org.jboss.dmr.Property... args)
The address of the resource targeted by the operation.
|
T |
address(org.jboss.dmr.Property value)
The address of the resource targeted by the operation.
|
String |
callerThread()
The name of the thread that is executing the operation.
|
T |
callerThread(String value)
The name of the thread that is executing the operation.
|
Boolean |
cancelled()
Whether the operation has been cancelled.
|
T |
cancelled(Boolean value)
Whether the operation has been cancelled.
|
Boolean |
domainRollout()
True if the operation is a subsidiary request on a domain process other
than the one directly handling the original operation, executing locally
as part of the rollout of the original operation across the domain.
|
T |
domainRollout(Boolean value)
True if the operation is a subsidiary request on a domain process other
than the one directly handling the original operation, executing locally
as part of the rollout of the original operation across the domain.
|
String |
domainUuid()
Identifier of an overall multi-process domain operation of which this
operation is a part, or undefined if this operation is not associated
with such a domain operation.
|
T |
domainUuid(String value)
Identifier of an overall multi-process domain operation of which this
operation is a part, or undefined if this operation is not associated
with such a domain operation.
|
Long |
exclusiveRunningTime()
Amount of time the operation has been executing with the exclusive
operation execution lock held, or -1 if the operation does not hold the
exclusive execution lock.
|
T |
exclusiveRunningTime(Long value)
Amount of time the operation has been executing with the exclusive
operation execution lock held, or -1 if the operation does not hold the
exclusive execution lock.
|
ActiveOperation.ExecutionStatus |
executionStatus()
The current activity of the operation.
|
T |
executionStatus(ActiveOperation.ExecutionStatus value)
The current activity of the operation.
|
String |
getKey() |
String |
operation()
The name of the operation, or '
|
T |
operation(String value)
The name of the operation, or '
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
runningTime()
Amount of time the operation has been executing.
|
T |
runningTime(Long value)
Amount of time the operation has been executing.
|
public ActiveOperation(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ActiveOperation.AccessMechanism accessMechanism()
public T accessMechanism(ActiveOperation.AccessMechanism value)
public List<Property> address()
public T address(List<org.jboss.dmr.Property> value)
public T address(org.jboss.dmr.Property value)
public T address(org.jboss.dmr.Property... args)
public String callerThread()
public T callerThread(String value)
public Boolean cancelled()
public Boolean domainRollout()
public T domainRollout(Boolean value)
public String domainUuid()
public T domainUuid(String value)
public Long exclusiveRunningTime()
public T exclusiveRunningTime(Long value)
public ActiveOperation.ExecutionStatus executionStatus()
public T executionStatus(ActiveOperation.ExecutionStatus value)
public String operation()
public T operation(String value)
public Long runningTime()
Copyright © 2019 JBoss by Red Hat. All rights reserved.