Class 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 the ManagedMySqlDatabaseInboundReplicationSummary.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 the ManagedMySqlDatabaseInboundReplicationSummary.Builder, which maintain a set of all explicitly set fields called ManagedMySqlDatabaseInboundReplicationSummary.Builder.__explicitlySet__. The hashCode() and equals(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).
    • 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

      • 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
      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel