com.netflix.astyanax.impl
Class FilteringHostSupplier
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteringHostSupplier
public FilteringHostSupplier(com.google.common.base.Supplier<Map<BigInteger,List<Host>>> sourceSupplier,
com.google.common.base.Supplier<Map<BigInteger,List<Host>>> filterSupplier)
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.