com.netflix.astyanax.impl
Class FilteringHostSupplier

java.lang.Object
  extended by com.netflix.astyanax.impl.FilteringHostSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<Map<BigInteger,List<Host>>>

public class FilteringHostSupplier
extends Object
implements com.google.common.base.Supplier<Map<BigInteger,List<Host>>>

Node discovery supplier that only return suppliers that come from both sources

Author:
elandau

Constructor Summary
FilteringHostSupplier(com.google.common.base.Supplier<Map<BigInteger,List<Host>>> sourceSupplier, com.google.common.base.Supplier<Map<BigInteger,List<Host>>> filterSupplier)
           
 
Method Summary
 Map<BigInteger,List<Host>> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteringHostSupplier

public FilteringHostSupplier(com.google.common.base.Supplier<Map<BigInteger,List<Host>>> sourceSupplier,
                             com.google.common.base.Supplier<Map<BigInteger,List<Host>>> filterSupplier)
Method Detail

get

public Map<BigInteger,List<Host>> get()
Specified by:
get in interface com.google.common.base.Supplier<Map<BigInteger,List<Host>>>


Copyright © 2012. All Rights Reserved.