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.ExplicitlySetBmcModelInbound 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 classManagedMySqlDatabaseInboundReplicationSummary.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.Builderbuilder()Create a new builder.booleanequals(Object o)List<MySqlReplicationApplierFilter>getApplierFilters()A list of MySqlReplicationApplierFilter records.DoublegetApplyDelay()The time in seconds that the current transaction took between being committed on the source and being applied on the replica.MySqlApplyErrorgetApplyError()StringgetApplyStatus()The current status of apply operations.IntegergetBusyWorkers()The number of workers currently busy applying transactions from the source server.StringgetChannelName()The name of the replication channel.LonggetDesiredDelaySeconds()The desired number of seconds that the replica must lag the source.MySqlFetchErrorgetFetchError()StringgetFetchStatus()The current status of fetch operations.StringgetGtidAssignment()Indicates whether the channel assigns global transaction identifiers (GTIDs) to anonymous replicated transactions.LonggetRelayLogStorageSpaceUsed()The total size in bytes of all the existing relay log files pertaining to this channel.LonggetRemainingDelaySeconds()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.StringgetRetrievedGtidSet()The set of global transaction IDs corresponding to all transactions received by this replica from the source server.LonggetSecondsBehindSource()The number of seconds the replica is behind the source server.StringgetSourceHost()The host name or IP address of the source this replica is connected to.IntegergetSourcePort()The port used to connect to the source.LonggetSourceServerId()The server ID value from the source server.StringgetSourceUuid()The Universally Unique Identifier (UUID) value from the source server.LonggetTransactionsReceived()The number of transactions received by this replica from the source server.inthashCode()ManagedMySqlDatabaseInboundReplicationSummary.BuildertoBuilder()StringtoString()StringtoString(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()
Indicates 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()
The time in seconds that the current transaction took between being committed on the source and being 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-