public static TaggableReadPreference valueOf ( final String name , final List < TagSet > tagSetList , final long maxStaleness , final TimeUnit timeUnit ) { return valueOf ( name , tagSetList , ( Long ) maxStaleness , timeUnit ) ; }
Creates a taggable read preference from the given read preference name list of tag sets and max allowable staleness of secondaries .