Class COSReader


  • public class COSReader
    extends BaseFileReader
    Grabs work from the bucket database and dispatches items to the thread pool.
    • Constructor Detail

      • COSReader

        public COSReader​(java.util.concurrent.ExecutorService commonPool,
                         FileType fileType,
                         COSClient client,
                         java.util.function.Consumer<ResourceEntry> resourceHandler,
                         int maxInflight,
                         DataAccess da,
                         boolean incremental,
                         int recycleSeconds,
                         boolean incrementalExact,
                         double bundleCostFactor,
                         java.util.Collection<BucketPath> bucketPaths)
        Public constructor
        Parameters:
        commonPool - thread pool shared by the readers and request handler
        fileType - the file type this read is responsible for processing
        client -
        resourceHandler -
        poolSize -
        da -
        incremental -
        recycleSeconds -