use of co.cask.cdap.internal.app.runtime.schedule.queue.JobQueueDatasetDefinition in project cdap by caskdata.
the class AppFabricDatasetModule method register.
@Override
public void register(DatasetDefinitionRegistry registry) {
DatasetDefinition<Table, ? extends DatasetAdmin> tableDef = registry.get(Table.class.getName());
registry.add(new JobQueueDatasetDefinition(JobQueueDataset.class.getName(), tableDef));
DatasetDefinition<IndexedTable, ? extends DatasetAdmin> indexedTableDef = registry.get(IndexedTable.class.getName());
registry.add(new ProgramScheduleStoreDefinition(Schedulers.STORE_TYPE_NAME, indexedTableDef));
}
Aggregations