Package io.deephaven.modelfarm
Interface ExecPrioritizer<KEYTYPE,DATATYPE,ROWDATAMANAGERTYPE extends RowDataManager<KEYTYPE,DATATYPE>>
- Type Parameters:
KEYTYPE
- unique ID key typeDATATYPE
- data type
public interface ExecPrioritizer<KEYTYPE,DATATYPE,ROWDATAMANAGERTYPE extends RowDataManager<KEYTYPE,DATATYPE>>
An interface for prioritizing the execution of table rows.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execHappened
(DATATYPE data) A new execution happened using this row data.int
priority
(ROWDATAMANAGERTYPE dataManager, long index) Compute the priority for processing the data at the indicated table index.
-
Method Details
-
priority
Compute the priority for processing the data at the indicated table index.- Parameters:
dataManager
- interface for accessing and querying data contained in rows of a dynamic table.index
- index of the data in the fit data manager source table.- Returns:
- priority of processing the data at the indicated index. Higher numbers are higher priority.
-
execHappened
A new execution happened using this row data.- Parameters:
data
- data used in the execution.
-