public class ScheduledJobLoader extends GenericLoader<ScheduledJob> implements Loader<ScheduledJob>
ab
Modifier and Type | Method and Description |
---|---|
void |
exec(JobEntry job,
String name)
Attempts to load and execute the external ScheduledJob.
|
void |
exec(PipelineData pipelineData,
String name)
Deprecated.
|
ScheduledJob |
getAssembler(String name)
Pulls out an instance of the object by name.
|
int |
getCacheSize()
Get the size of a possibly configured cache
|
static ScheduledJobLoader |
getInstance()
The method through which this class is accessed.
|
getAssembler, getBasePackage, getPackages, reload, setReload
public void exec(JobEntry job, String name) throws Exception
job
- The JobEntry.name
- Name of object that will execute the job.Exception
- a generic exception.@Deprecated public void exec(PipelineData pipelineData, String name) throws Exception
exec
in class GenericLoader<ScheduledJob>
pipelineData
- Turbine information.name
- Name of object that will execute the job.Exception
- a generic exception.public ScheduledJob getAssembler(String name) throws Exception
getAssembler
in interface Loader<ScheduledJob>
name
- Name of object instance.Exception
- a generic exception.public int getCacheSize()
Loader
getCacheSize
in interface Loader<ScheduledJob>
Loader.getCacheSize()
public static ScheduledJobLoader getInstance()
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.