com.ibm.websphere.management.sync
Interface SyncResult
-
public interface SyncResultSyncResult describes the result of the most recent configuration synchronization operation. It is returned by the NodeSync MBean's getResult operation.
-
-
Field Summary
Fields Modifier and Type Field and Description static intCOMPLETEThe most recent synchronization operation completed successfullystatic intERRORThe most recent synchronization operation failed.static intIN_PROGRESSA synchronization operation is currently in progressstatic intNOT_VERIFIEDThe most recent synchronization operation completed but there was an error while verifying the success of the operation.static intOUT_OF_SYNCThe node is not synchronized with the master configuration.
-
Method Summary
Methods Modifier and Type Method and Description longgetCompleteTime()Gets the time at which the most recent synchronization operation completed.longgetInitTime()Gets the time at which the most recent synchronization operation began.intgetResult()Gets the result of the most recent synchronization operation.booleanisSuccessful()Determines whether or not the most recent operation was successfulbooleanisUpdated()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:
- Constant Field Values
-
COMPLETE
static final int COMPLETE
The most recent synchronization operation completed successfully- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
OUT_OF_SYNC
static final int OUT_OF_SYNC
The node is not synchronized with the master configuration.- See Also:
- Constant Field Values
-
ERROR
static final int ERROR
The most recent synchronization operation failed.- See Also:
- Constant Field Values
-
-
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:
truefor success, otherwisefalse
-
isUpdated
boolean isUpdated()
Determines whether the most recent synchronization operation resulted in updates to the node configuration.- Returns:
trueif the node configuration was updated, otherwisefalse
-
-