public String getShortDescription ( ) { return "{" + ( hosts . isEmpty ( ) ? "" : "hosts=" + hosts ) + ( srvHost == null ? "" : ", srvHost=" + srvHost ) + ", mode=" + mode + ", requiredClusterType=" + requiredClusterType + ", serverSelectionTimeout='" + serverSelectionTimeoutMS + " ms" + ' ' + ", maxWaitQueueSize=" + maxWaitQueueSize + ( requiredReplicaSetName == null ? "" : ", requiredReplicaSetName='" + requiredReplicaSetName + ' ' ) + ( description == null ? "" : ", description='" + description + ' ' ) + ' ' ; }
Returns a short pretty description for these ClusterSettings .