Class ManagedMySqlDatabaseInboundReplicationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.ManagedMySqlDatabaseInboundReplicationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ManagedMySqlDatabaseInboundReplicationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Inbound replication information of a MySQL replica.
Note: Objects should always be created or deserialized using theManagedMySqlDatabaseInboundReplicationSummary.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theManagedMySqlDatabaseInboundReplicationSummary.Builder
, which maintain a set of all explicitly set fields calledManagedMySqlDatabaseInboundReplicationSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedMySqlDatabaseInboundReplicationSummary.Builder
-
Constructor Summary
Constructors Constructor Description ManagedMySqlDatabaseInboundReplicationSummary(String sourceHost, Integer sourcePort, String fetchStatus, String applyStatus, Long desiredDelaySeconds, Long remainingDelaySeconds, String channelName, String sourceUuid, Long sourceServerId, String gtidAssignment, List<MySqlReplicationApplierFilter> applierFilters, Long secondsBehindSource, String retrievedGtidSet, Long relayLogStorageSpaceUsed, Long transactionsReceived, Double applyDelay, Integer busyWorkers, MySqlFetchError fetchError, MySqlApplyError applyError)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedMySqlDatabaseInboundReplicationSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<MySqlReplicationApplierFilter>
getApplierFilters()
A list of MySqlReplicationApplierFilter records.Double
getApplyDelay()
Time in seconds it took for the transaction that is currently being applied between being committed on the source and applied on the replica.MySqlApplyError
getApplyError()
String
getApplyStatus()
The current status of apply operations.Integer
getBusyWorkers()
The number of workers currently busy applying transactions from the source server.String
getChannelName()
The name of the replication channel.Long
getDesiredDelaySeconds()
The desired number of seconds that the replica must lag the source.MySqlFetchError
getFetchError()
String
getFetchStatus()
The current status of fetch operations.String
getGtidAssignment()
Whether the channel assigns global transaction identifiers (GTIDs) to anonymous replicated transactions.Long
getRelayLogStorageSpaceUsed()
The total size in bytes of all the existing relay log files pertaining to this channel.Long
getRemainingDelaySeconds()
If the replica is waiting for the desired delay seconds to pass since the source applied an event, this field contains the number of delay seconds remaining.String
getRetrievedGtidSet()
The set of global transaction IDs corresponding to all transactions received by this replica from the source server.Long
getSecondsBehindSource()
The number of seconds the replica is behind the source server.String
getSourceHost()
The host name or IP address of the source this replica is connected to.Integer
getSourcePort()
The port used to connect to the source.Long
getSourceServerId()
The server ID value from the source server.String
getSourceUuid()
The Universally Unique Identifier (UUID) value from the source server.Long
getTransactionsReceived()
The number of transactions received by this replica from the source server.int
hashCode()
ManagedMySqlDatabaseInboundReplicationSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagedMySqlDatabaseInboundReplicationSummary
@Deprecated @ConstructorProperties({"sourceHost","sourcePort","fetchStatus","applyStatus","desiredDelaySeconds","remainingDelaySeconds","channelName","sourceUuid","sourceServerId","gtidAssignment","applierFilters","secondsBehindSource","retrievedGtidSet","relayLogStorageSpaceUsed","transactionsReceived","applyDelay","busyWorkers","fetchError","applyError"}) public ManagedMySqlDatabaseInboundReplicationSummary(String sourceHost, Integer sourcePort, String fetchStatus, String applyStatus, Long desiredDelaySeconds, Long remainingDelaySeconds, String channelName, String sourceUuid, Long sourceServerId, String gtidAssignment, List<MySqlReplicationApplierFilter> applierFilters, Long secondsBehindSource, String retrievedGtidSet, Long relayLogStorageSpaceUsed, Long transactionsReceived, Double applyDelay, Integer busyWorkers, MySqlFetchError fetchError, MySqlApplyError applyError)
Deprecated.
-
-
Method Detail
-
builder
public static ManagedMySqlDatabaseInboundReplicationSummary.Builder builder()
Create a new builder.
-
toBuilder
public ManagedMySqlDatabaseInboundReplicationSummary.Builder toBuilder()
-
getSourceHost
public String getSourceHost()
The host name or IP address of the source this replica is connected to.- Returns:
- the value
-
getSourcePort
public Integer getSourcePort()
The port used to connect to the source.- Returns:
- the value
-
getFetchStatus
public String getFetchStatus()
The current status of fetch operations.- Returns:
- the value
-
getApplyStatus
public String getApplyStatus()
The current status of apply operations.- Returns:
- the value
-
getDesiredDelaySeconds
public Long getDesiredDelaySeconds()
The desired number of seconds that the replica must lag the source.- Returns:
- the value
-
getRemainingDelaySeconds
public Long getRemainingDelaySeconds()
If the replica is waiting for the desired delay seconds to pass since the source applied an event, this field contains the number of delay seconds remaining.- Returns:
- the value
-
getChannelName
public String getChannelName()
The name of the replication channel.- Returns:
- the value
-
getSourceUuid
public String getSourceUuid()
The Universally Unique Identifier (UUID) value from the source server.- Returns:
- the value
-
getSourceServerId
public Long getSourceServerId()
The server ID value from the source server.- Returns:
- the value
-
getGtidAssignment
public String getGtidAssignment()
Whether the channel assigns global transaction identifiers (GTIDs) to anonymous replicated transactions.OFF means no GTIDs are assigned. LOCAL means a GTID is assigned that includes this replica’s own universally unique identifier (UUID). A UUID as value indicates that a GTID is assigned which includes that manually set UUID value.
- Returns:
- the value
-
getApplierFilters
public List<MySqlReplicationApplierFilter> getApplierFilters()
A list of MySqlReplicationApplierFilter records.- Returns:
- the value
-
getSecondsBehindSource
public Long getSecondsBehindSource()
The number of seconds the replica is behind the source server.- Returns:
- the value
-
getRetrievedGtidSet
public String getRetrievedGtidSet()
The set of global transaction IDs corresponding to all transactions received by this replica from the source server.Empty if GTIDs are not in use.
- Returns:
- the value
-
getRelayLogStorageSpaceUsed
public Long getRelayLogStorageSpaceUsed()
The total size in bytes of all the existing relay log files pertaining to this channel.- Returns:
- the value
-
getTransactionsReceived
public Long getTransactionsReceived()
The number of transactions received by this replica from the source server.- Returns:
- the value
-
getApplyDelay
public Double getApplyDelay()
Time in seconds it took for the transaction that is currently being applied between being committed on the source and applied on the replica.- Returns:
- the value
-
getBusyWorkers
public Integer getBusyWorkers()
The number of workers currently busy applying transactions from the source server.- Returns:
- the value
-
getFetchError
public MySqlFetchError getFetchError()
-
getApplyError
public MySqlApplyError getApplyError()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-