Class UnitOfRetrieval

  • All Implemented Interfaces:
    Callable<RetrievalResult>

    public class UnitOfRetrieval
    extends Object
    implements Callable<RetrievalResult>
    Author:
    mshankar This class encapsulates a storage plugin, a PVName, a start time and an end time (all the items needed to make a getDataForPV call). The retrieval servlet creates multiple UnitOfRetrieval's, one or more for each storage plugin. Some variation of a ExecutorService is expected to be used to launch the UnitOfRetrievals in parallel and then push the event streams into the consumer.