@ Deprecated public List < ServerDescription > getAnyPrimaryOrSecondary ( ) { return getServersByPredicate ( new Predicate ( ) { public boolean apply ( final ServerDescription serverDescription ) { return serverDescription . isPrimary ( ) || serverDescription . isSecondary ( ) ; } } ) ; }
Gets a list of all the primaries and secondaries in this cluster .