public CacheTopology computePreferredTopology ( Map < Address , CacheStatusResponse > statusResponseMap ) { List < Partition > partitions = computePartitions ( statusResponseMap , "" ) ; return partitions . size ( ) != 0 ? selectPreferredPartition ( partitions ) . topology : null ; }
Ignore the AvailabilityStrategyContext and only compute the preferred topology for testing .