Package offlineProcessing
Class TaskGroupParams
java.lang.Object
offlineProcessing.TaskGroupParams
- All Implemented Interfaces:
 Serializable,Cloneable,ManagedParameters
Parameter control for offline task groups.
- Author:
 - Doug Gillespie
 - See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionintThe data to process flag e.g.booleanDelete old database entries.longused in PROCESS_SPECIFICPERIOD mode-will not affect PROCESS_NEW and lastDataTime boolean could be used to govern this in futurelongTime of the last section of data to be processed.booleanEach time processData is called we can either load ALL of the secondary data block data for that block or can only call loading secondary data for the times we're interested in.static final intProcess all data in the datastore (binary, database, or wherever).static final intprocess only the data currently loaded in memory.static final intProcess new data only - i.e.static final intProcess a specific period of datastatic final intProcess imported time chunks.static final longlongused in PROCESS_SPECIFICPERIOD mode-will not affect PROCESS_NEW and lastDataTime boolean could be used to govern this in futureNote which will get written to the database of completed tasks.ArrayList<long[]> An array of time chunks in millis. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected TaskGroupParamsclone()Get a set of data that describes all of the parameters in a classbooleangetTaskSelection(int iTask) Get the selection state of a taskvoidsetTaskSelection(int iTask, boolean selState) Set the selection state of a particular task. 
- 
Field Details
- 
serialVersionUID
public static final long serialVersionUID- See Also:
 
 - 
PROCESS_LOADED
public static final int PROCESS_LOADEDprocess only the data currently loaded in memory.- See Also:
 
 - 
PROCESS_ALL
public static final int PROCESS_ALLProcess all data in the datastore (binary, database, or wherever).- See Also:
 
 - 
PROCESS_NEW
public static final int PROCESS_NEWProcess new data only - i.e. data which arrived after the lastDataTime field.- See Also:
 
 - 
lastDataTime
public long lastDataTimeTime of the last section of data to be processed. - 
PROCESS_SPECIFICPERIOD
public static final int PROCESS_SPECIFICPERIODProcess a specific period of data- See Also:
 
 - 
PROCESS_TME_CHUNKS
public static final int PROCESS_TME_CHUNKSProcess imported time chunks.- See Also:
 
 - 
startRedoDataTime
public long startRedoDataTimeused in PROCESS_SPECIFICPERIOD mode-will not affect PROCESS_NEW and lastDataTime boolean could be used to govern this in futureStart time used for one off re-processing jobs
 - 
endRedoDataTime
public long endRedoDataTimeused in PROCESS_SPECIFICPERIOD mode-will not affect PROCESS_NEW and lastDataTime boolean could be used to govern this in futureEnd time used for one off re-processing jobs
 - 
dataChoice
public int dataChoiceThe data to process flag e.g. only data loaded in memory or the entire dataset. - 
deleteOld
public boolean deleteOldDelete old database entries. - 
loadBlockedSecondaryData
public boolean loadBlockedSecondaryDataEach time processData is called we can either load ALL of the secondary data block data for that block or can only call loading secondary data for the times we're interested in. IF this is true, we'll load everything. - 
timeChunks
An array of time chunks in millis. - 
taskNote
Note which will get written to the database of completed tasks. 
 - 
 - 
Constructor Details
- 
TaskGroupParams
public TaskGroupParams() 
 - 
 - 
Method Details
- 
setTaskSelection
public void setTaskSelection(int iTask, boolean selState) Set the selection state of a particular task.- Parameters:
 iTask- task number (counting from 0)selState- selection state
 - 
getTaskSelection
public boolean getTaskSelection(int iTask) Get the selection state of a task- Parameters:
 iTask- task number (counting from 0)- Returns:
 - state (default is false).
 
 - 
clone
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -