@SuppressWarnings("deprecation")
    @Deprecated
    @Nullable
    public ReplicaSetStatus getReplicaSetStatus() {
        ClusterDescription clusterDescription = getClusterDescription();
        return clusterDescription.getType() == REPLICA_SET && clusterDescription.getConnectionMode() == MULTIPLE
               ? new ReplicaSetStatus(delegate.getCluster()) : null; // this is intended behavior in 2.x
    }
@SuppressWarnings("deprecation")
    @Deprecated
    @Nullable
    public ReplicaSetStatus getReplicaSetStatus() {
        ClusterDescription clusterDescription = getClusterDescription();
        return clusterDescription.getType() == REPLICA_SET && clusterDescription.getConnectionMode() == MULTIPLE
               ? new ReplicaSetStatus(delegate.getCluster()) : null; 
    }
@ SuppressWarnings ( "deprecation" ) @ Deprecated @ Nullable public ReplicaSetStatus getReplicaSetStatus ( ) { ClusterDescription clusterDescription = getClusterDescription ( ) ; return clusterDescription . getType ( ) == REPLICA_SET && clusterDescription . getConnectionMode ( ) == MULTIPLE ? new ReplicaSetStatus ( delegate . getCluster ( ) ) : null ; // this is intended behavior in 2.x }
Get the status of the replica set cluster.

@return replica set status information
Get the status of the replica set cluster .