Uses of Class
edu.ucsb.cs156.jobs.entities.JobLog
Packages that use JobLog
Package
Description
-
Uses of JobLog in edu.ucsb.cs156.jobs.controllers
Methods in edu.ucsb.cs156.jobs.controllers that return types with arguments of type JobLog -
Uses of JobLog in edu.ucsb.cs156.jobs.repositories
Methods in edu.ucsb.cs156.jobs.repositories that return types with arguments of type JobLogModifier and TypeMethodDescriptionJobLogRepository.findByJobIdAndIdGreaterThanOrderByIdAsc(Long jobId, Long afterId) Everything logged sinceafterId— the incremental "tail -f" query.JobLogRepository.findByJobIdOrderByIdAsc(Long jobId) Full log, chronological order — used to assemble the complete log for one job.JobLogRepository.findTop10ByJobIdOrderByIdDesc(Long jobId) The most recent lines, newest first — used for the list/paginated endpoints' preview. -
Uses of JobLog in edu.ucsb.cs156.jobs.services
Methods in edu.ucsb.cs156.jobs.services that return types with arguments of type JobLogModifier and TypeMethodDescriptionJobService.getJobLogTail(Long jobId, Long afterId) Everything logged for this job sinceafterId(exclusive), oldest first — the incremental "tail -f" query: a polling client passes the highest id it has already seen and gets back only new lines.