Package | Description |
---|---|
org.apache.lens.api.scheduler | |
org.apache.lens.server.api.scheduler | |
org.apache.lens.server.scheduler |
Modifier and Type | Method and Description |
---|---|
XJob |
ObjectFactory.createXJob()
Create an instance of
XJob |
XJob |
SchedulerJobInfo.getJob()
Definition of the job scheduled.
|
XJob |
XJob.withEndTime(XMLGregorianCalendar value) |
XJob |
XJob.withExecution(XExecution value) |
XJob |
XJob.withJobConf(Collection<MapType> values) |
XJob |
XJob.withJobConf(MapType... values) |
XJob |
XJob.withName(String value) |
XJob |
XJob.withStartTime(XMLGregorianCalendar value) |
XJob |
XJob.withTrigger(XTrigger value) |
Modifier and Type | Method and Description |
---|---|
JAXBElement<XJob> |
ObjectFactory.createJob(XJob value)
|
Modifier and Type | Method and Description |
---|---|
JAXBElement<XJob> |
ObjectFactory.createJob(XJob value)
|
void |
SchedulerJobInfo.setJob(XJob job)
Definition of the job scheduled.
|
Constructor and Description |
---|
SchedulerJobInfo(SchedulerJobHandle id,
XJob job,
String userName,
SchedulerJobState jobState,
long createdOn,
long modifiedOn) |
Modifier and Type | Method and Description |
---|---|
XJob |
SchedulerService.getJobDefinition(SchedulerJobHandle jobHandle)
Returns the definition of a job.
|
Modifier and Type | Method and Description |
---|---|
SchedulerJobHandle |
SchedulerService.submitAndScheduleJob(LensSessionHandle sessionHandle,
XJob job)
Submit a job and also schedule it.
|
SchedulerJobHandle |
SchedulerService.submitJob(LensSessionHandle sessionHandle,
XJob job)
Submit a job.
|
boolean |
SchedulerService.updateJob(LensSessionHandle sessionHandle,
SchedulerJobHandle jobHandle,
XJob newJobDefinition)
Update a job with new definition.
|
Modifier and Type | Method and Description |
---|---|
XJob |
SchedulerDAO.getJob(SchedulerJobHandle id)
Gets the job definition from the store
|
XJob |
SchedulerDAO.SchedulerDBStore.getJob(String id)
Gets the job definition
|
XJob |
SchedulerServiceImpl.getJobDefinition(SchedulerJobHandle jobHandle)
Returns the definition of a job.
|
Modifier and Type | Method and Description |
---|---|
JAXBElement<XJob> |
ScheduleResource.getJobDefinition(LensSessionHandle sessionId,
SchedulerJobHandle jobHandle) |
Modifier and Type | Method and Description |
---|---|
void |
LensScheduler.schedule(SchedulerJobHandle handle,
XJob job) |
SchedulerJobHandle |
SchedulerServiceImpl.submitAndScheduleJob(LensSessionHandle sessionHandle,
XJob job) |
SchedulerJobHandle |
ScheduleResource.submitJob(LensSessionHandle sessionId,
String action,
XJob job) |
SchedulerJobHandle |
SchedulerServiceImpl.submitJob(LensSessionHandle sessionHandle,
XJob job)
Submit a job.
|
boolean |
SchedulerServiceImpl.updateJob(LensSessionHandle sessionHandle,
SchedulerJobHandle jobHandle,
XJob newJobDefinition)
Update a job with new definition.
|
APIResult |
ScheduleResource.updateJob(LensSessionHandle sessionId,
SchedulerJobHandle jobHandle,
XJob job) |
int |
SchedulerDAO.SchedulerDBStore.updateJob(String id,
XJob job,
long modifiedOn)
Update the XJob into the job table
|
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.