public abstract class HaleStoreInstancesJob extends StoreInstancesJob
report
Constructor and Description |
---|
HaleStoreInstancesJob(String name,
LocalOrientDB database,
InstanceCollection instances)
Create a job that stores instances in a database
|
Modifier and Type | Method and Description |
---|---|
protected void |
processInstance(Instance instance)
Process an instance before it is saved.
|
protected void |
updateInstance(MutableInstance instance)
Update an instance before it is converted and saved, e.g.
|
onComplete, run
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
public HaleStoreInstancesJob(String name, LocalOrientDB database, InstanceCollection instances)
name
- the (human readable) job nameinstances
- the instances to store in the databasedatabase
- the databaseprotected void updateInstance(MutableInstance instance)
StoreInstancesJob
updateInstance
in class StoreInstancesJob
instance
- the instanceStoreInstancesJob.updateInstance(MutableInstance)
protected void processInstance(Instance instance)
StoreInstancesJob
processInstance
in class StoreInstancesJob
instance
- the instance, may not be changed in any wayStoreInstancesJob.processInstance(Instance)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a