Class LongRunningTaskDao
java.lang.Object
io.datarouter.storage.dao.BaseDao
io.datarouter.tasktracker.storage.LongRunningTaskDao
- All Implemented Interfaces:
io.datarouter.storage.dao.Dao
@Singleton
public class LongRunningTaskDao
extends io.datarouter.storage.dao.BaseDao
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLongRunningTaskDao.LongRunningTaskDaoParams -
Constructor Summary
Constructors Constructor Description LongRunningTaskDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, LongRunningTaskDao.LongRunningTaskDaoParams params) -
Method Summary
Modifier and Type Method Description voiddeleteBatched(io.datarouter.scanner.Scanner<LongRunningTaskKey> keys)io.datarouter.storage.node.op.combo.SortedMapStorage<LongRunningTaskKey,LongRunningTask>getNode()io.datarouter.scanner.Scanner<LongRunningTask>scan()io.datarouter.scanner.Scanner<LongRunningTask>scan(io.datarouter.util.tuple.Range<LongRunningTaskKey> range)io.datarouter.scanner.Scanner<io.datarouter.instrumentation.task.TaskTrackerBatchDto>scanAll(int batchSize)io.datarouter.scanner.Scanner<LongRunningTaskKey>scanKeysWithPrefix(LongRunningTaskKey prefix)io.datarouter.scanner.Scanner<LongRunningTask>scanWithPrefix(LongRunningTaskKey prefix)
-
Constructor Details
-
LongRunningTaskDao
@Inject public LongRunningTaskDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, LongRunningTaskDao.LongRunningTaskDaoParams params)
-
-
Method Details
-
getNode
public io.datarouter.storage.node.op.combo.SortedMapStorage<LongRunningTaskKey,LongRunningTask> getNode() -
scan
-
scan
public io.datarouter.scanner.Scanner<LongRunningTask> scan(io.datarouter.util.tuple.Range<LongRunningTaskKey> range) -
scanWithPrefix
-
scanKeysWithPrefix
public io.datarouter.scanner.Scanner<LongRunningTaskKey> scanKeysWithPrefix(LongRunningTaskKey prefix) -
deleteBatched
-
scanAll
public io.datarouter.scanner.Scanner<io.datarouter.instrumentation.task.TaskTrackerBatchDto> scanAll(int batchSize)
-