com.ibm.websphere.management.sync
Interface SyncResult
- public interface SyncResult
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COMPLETE
The most recent synchronization operation completed successfully
|
|
ERROR
The most recent synchronization operation failed.
|
|
IN_PROGRESS
A synchronization operation is currently in progress
|
|
NOT_VERIFIED
The most recent synchronization operation completed but there was an
error while verifying the success of the operation.
|
|
OUT_OF_SYNC
The node is not synchronized with the master configuration.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getCompleteTime()
Gets the time at which the most recent synchronization operation
completed.
|
|
getInitTime()
Gets the time at which the most recent synchronization operation
began.
|
|
getResult()
Gets the result of the most recent synchronization operation.
|
|
isSuccessful()
Determines whether or not the most recent operation was successful
|
|
isUpdated()
Determines whether the most recent synchronization operation resulted
in updates to the node configuration.
|
Field Detail
IN_PROGRESS
- static final int IN_PROGRESS
A synchronization operation is currently in progress
See Also:
COMPLETE
- static final int COMPLETE
The most recent synchronization operation completed successfully
See Also:
NOT_VERIFIED
- static final int NOT_VERIFIED
The most recent synchronization operation completed but there was an
error while verifying the success of the operation.
See Also:
OUT_OF_SYNC
- static final int OUT_OF_SYNC
The node is not synchronized with the master configuration.
See Also:
ERROR
- static final int ERROR
The most recent synchronization operation failed.
See Also:
Method Detail
getResult
- int getResult()
Gets the result of the most recent synchronization operation.
Returns:
One of the result constants defined above.
getInitTime
- long getInitTime()
Gets the time at which the most recent synchronization operation
began.
Returns:
A timestamp indicating the when the operation began
getCompleteTime
- long getCompleteTime()
Gets the time at which the most recent synchronization operation
completed.
Returns:
A timestamp indicating the when the operation completed
isSuccessful
- boolean isSuccessful()
Determines whether or not the most recent operation was successful
Returns:
true
for success, otherwise false
isUpdated
- boolean isUpdated()
Determines whether the most recent synchronization operation resulted
in updates to the node configuration.
Returns:
true
if the node configuration was updated,
otherwise false