Uses of Class
org.linuxforhealth.fhir.bucket.api.BucketLoaderJob
-
Packages that use BucketLoaderJob Package Description org.linuxforhealth.fhir.bucket.api org.linuxforhealth.fhir.bucket.persistence org.linuxforhealth.fhir.bucket.scanner -
-
Uses of BucketLoaderJob in org.linuxforhealth.fhir.bucket.api
Methods in org.linuxforhealth.fhir.bucket.api that return BucketLoaderJob Modifier and Type Method Description BucketLoaderJobResourceEntry. getJob()Method parameters in org.linuxforhealth.fhir.bucket.api with type arguments of type BucketLoaderJob Modifier and Type Method Description voidBucketLoaderJob. registerCallback(java.util.function.Consumer<BucketLoaderJob> cb)Register a Consumer to call back when the job is doneConstructors in org.linuxforhealth.fhir.bucket.api with parameters of type BucketLoaderJob Constructor Description ResourceEntry(BucketLoaderJob job, Resource resource, int lineNumber, int cost)Public constructor -
Uses of BucketLoaderJob in org.linuxforhealth.fhir.bucket.persistence
Constructor parameters in org.linuxforhealth.fhir.bucket.persistence with type arguments of type BucketLoaderJob Constructor Description AllocateJobs(java.lang.String schemaName, java.util.List<BucketLoaderJob> jobList, FileType fileType, long loaderInstanceId, int free, java.util.Collection<BucketPath> bucketPaths)Public constructor -
Uses of BucketLoaderJob in org.linuxforhealth.fhir.bucket.scanner
Methods in org.linuxforhealth.fhir.bucket.scanner with parameters of type BucketLoaderJob Modifier and Type Method Description protected voidBaseFileReader. markJobDone(BucketLoaderJob job)Callback when the last record in the job completesvoidDataAccess. markJobDone(BucketLoaderJob job)protected voidImmediateLocalFileReader. markJobDone(BucketLoaderJob job)Callback when the last record in the job completesprotected booleanImmediateLocalFileReader. process(BucketLoaderJob job, Resource resource, int lineNumber, java.lang.String line)Process the resource parsed from the input stream.protected voidBaseFileReader. processJSON(BucketLoaderJob job, java.io.Reader reader)Process a JSON stream (as opposed to an NDJSON stream)protected voidBaseFileReader. processNDJSON(BucketLoaderJob job, java.io.BufferedReader br)Read the resources from the given readervoidImmediateLocalFileReader. processNDJSON(BucketLoaderJob job, java.io.BufferedReader br)Read the resources from the given readerprotected abstract voidBaseFileReader. processThr(BucketLoaderJob job)Process this job in a thread-pool threadprotected voidCOSReader. processThr(BucketLoaderJob job)protected voidLocalFileReader. processThr(BucketLoaderJob job)Method parameters in org.linuxforhealth.fhir.bucket.scanner with type arguments of type BucketLoaderJob Modifier and Type Method Description voidDataAccess. allocateJobs(java.util.List<BucketLoaderJob> jobList, FileType fileType, int free, int recycleSeconds, java.util.Collection<BucketPath> bucketPaths)Allocate up to free jobs to this loader instance
-