public ReadPreference getReadPreference ( ) { ReadPreference readPreference = findOptions . getReadPreference ( ) ; if ( readPreference != null ) { return readPreference ; } return collection . getReadPreference ( ) ; }
Gets the default read preference .