com.senseidb.search.node.impl
Class CompositeDataConsumer<T>
java.lang.Object
com.senseidb.search.node.impl.CompositeDataConsumer<T>
- All Implemented Interfaces:
- proj.zoie.api.DataConsumer<T>
public class CompositeDataConsumer<T>
- extends Object
- implements proj.zoie.api.DataConsumer<T>
Nested classes/interfaces inherited from interface proj.zoie.api.DataConsumer |
proj.zoie.api.DataConsumer.DataEvent<D>, proj.zoie.api.DataConsumer.MarkerDataEvent<D> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeDataConsumer
public CompositeDataConsumer(Comparator<String> versionComparator)
addDataConsumer
public void addDataConsumer(proj.zoie.api.DataConsumer<T> dataConsumer)
consume
public void consume(Collection<proj.zoie.api.DataConsumer.DataEvent<T>> events)
throws proj.zoie.api.ZoieException
- Specified by:
consume
in interface proj.zoie.api.DataConsumer<T>
- Throws:
proj.zoie.api.ZoieException
getVersion
public String getVersion()
- Specified by:
getVersion
in interface proj.zoie.api.DataConsumer<T>
getVersionComparator
public Comparator<String> getVersionComparator()
- Specified by:
getVersionComparator
in interface proj.zoie.api.DataConsumer<T>
Copyright © 2010-2012. All Rights Reserved.