public class JdbcDataflowTaskExecutionMetadataDao extends Object implements DataflowTaskExecutionMetadataDao
DataflowTaskExecutionMetadataDao
DataflowTaskExecutionMetadataDao
Constructor and Description |
---|
JdbcDataflowTaskExecutionMetadataDao(DataSource dataSource,
DataFieldMaxValueIncrementer incrementer,
String prefix) |
Modifier and Type | Method and Description |
---|---|
int |
deleteManifestsByTaskExecutionIds(Set<Long> taskExecutionIds)
Deletes the task manifest records associated with the collection of task execution ids provided.
|
TaskManifest |
findManifestById(Long id)
Returns the manifest for the given execution id.
|
TaskManifest |
getLatestManifest(String taskName)
Returns the manifest for the most recently launched instance of the task name requested.
|
void |
save(org.springframework.cloud.task.repository.TaskExecution taskExecution,
TaskManifest manifest)
Saves a
TaskManifest related to the supplied TaskExecution |
public JdbcDataflowTaskExecutionMetadataDao(DataSource dataSource, DataFieldMaxValueIncrementer incrementer, String prefix)
public void save(org.springframework.cloud.task.repository.TaskExecution taskExecution, TaskManifest manifest)
DataflowTaskExecutionMetadataDao
TaskManifest
related to the supplied TaskExecution
save
in interface DataflowTaskExecutionMetadataDao
taskExecution
- execution this manifest is associated withmanifest
- manifestpublic TaskManifest getLatestManifest(String taskName)
DataflowTaskExecutionMetadataDao
getLatestManifest
in interface DataflowTaskExecutionMetadataDao
taskName
- name of task defintionTaskManifest
public TaskManifest findManifestById(Long id)
DataflowTaskExecutionMetadataDao
findManifestById
in interface DataflowTaskExecutionMetadataDao
id
- execution idTaskManifest
public int deleteManifestsByTaskExecutionIds(Set<Long> taskExecutionIds)
DataflowTaskExecutionMetadataDao
deleteManifestsByTaskExecutionIds
in interface DataflowTaskExecutionMetadataDao
taskExecutionIds
- collection of ids to delete the manifests forCopyright © 2024 Pivotal Software, Inc.. All rights reserved.