@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONEntryRebalancingResultAccessLogMessage extends JSONEntryRebalancingRequestAccessLogMessage implements EntryRebalancingResultAccessLogMessage
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Constructor and Description |
---|
JSONEntryRebalancingResultAccessLogMessage(JSONObject jsonObject)
Creates a new JSON entry rebalancing request access log message from the
provided JSON object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdminActionMessage()
Retrieves a message with information about any administrative action that
may be required to bring the source and target servers back to a consistent
state with regard to the migrated subtree.
|
java.lang.Integer |
getEntriesAddedToTarget()
Retrieves the number of entries that were added to the target server.
|
java.lang.Integer |
getEntriesDeletedFromSource()
Retrieves the number of entries that were deleted from the source server.
|
java.lang.Integer |
getEntriesReadFromSource()
Retrieves the number of entries that were read from the source server.
|
java.lang.String |
getErrorMessage()
Retrieves a message with information about any errors that were encountered
during processing.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
ResultCode |
getResultCode()
Retrieves the result code for the entry-rebalancing operation.
|
java.lang.Boolean |
getSourceServerAltered()
Indicates whether data in the source server was altered as a result of
processing for this entry-rebalancing operation.
|
java.lang.Boolean |
getTargetServerAltered()
Indicates whether data in the target server was altered as a result of
processing for this entry-rebalancing operation.
|
getRebalancingOperationID, getSizeLimit, getSourceBackendServer, getSourceBackendSetName, getSubtreeBaseDN, getTargetBackendServer, getTargetBackendSetName, getTriggeredByConnectionID, getTriggeredByOperationID
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRebalancingOperationID, getSizeLimit, getSourceBackendServer, getSourceBackendSetName, getSubtreeBaseDN, getTargetBackendServer, getTargetBackendSetName, getTriggeredByConnectionID, getTriggeredByOperationID
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
public JSONEntryRebalancingResultAccessLogMessage(@NotNull JSONObject jsonObject) throws LogException
jsonObject
- The JSON object that contains an encoded representation
of this log message. It must not be null
.LogException
- If the provided JSON object cannot be parsed as a
valid log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
getMessageType
in class JSONEntryRebalancingRequestAccessLogMessage
@Nullable public ResultCode getResultCode()
getResultCode
in interface EntryRebalancingResultAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.String getErrorMessage()
getErrorMessage
in interface EntryRebalancingResultAccessLogMessage
null
if no errors were encountered
or it is not included in the log message.@Nullable public java.lang.String getAdminActionMessage()
getAdminActionMessage
in interface EntryRebalancingResultAccessLogMessage
null
if no administrative action is required or it is not
included in the log message.@Nullable public java.lang.Boolean getSourceServerAltered()
getSourceServerAltered
in interface EntryRebalancingResultAccessLogMessage
true
if data in the source server was altered as a result
of processing for this entry-rebalancing operation, false
if no data in the source server was altered as a result of
entry-rebalancing processing, or null
if it is not
included in the log message.@Nullable public java.lang.Boolean getTargetServerAltered()
getTargetServerAltered
in interface EntryRebalancingResultAccessLogMessage
true
if data in the target server was altered as a result
of processing for this entry-rebalancing operation, false
if no data in the target server was altered as a result of
entry-rebalancing processing, or null
if it is not
included in the log message.@Nullable public java.lang.Integer getEntriesReadFromSource()
getEntriesReadFromSource
in interface EntryRebalancingResultAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.Integer getEntriesAddedToTarget()
getEntriesAddedToTarget
in interface EntryRebalancingResultAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.Integer getEntriesDeletedFromSource()
getEntriesDeletedFromSource
in interface EntryRebalancingResultAccessLogMessage
null
if it is not included in the log message.