public class JdbcDataflowTaskExecutionMetadataDao extends Object implements DataflowTaskExecutionMetadataDao
DataflowTaskExecutionMetadataDaoDataflowTaskExecutionMetadataDao| Constructor and Description |
|---|
JdbcDataflowTaskExecutionMetadataDao(DataSource dataSource,
org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer) |
| 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, org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer)
public void save(org.springframework.cloud.task.repository.TaskExecution taskExecution,
TaskManifest manifest)
DataflowTaskExecutionMetadataDaoTaskManifest related to the supplied TaskExecutionsave in interface DataflowTaskExecutionMetadataDaotaskExecution - execution this manifest is associated withmanifest - manifestpublic TaskManifest getLatestManifest(String taskName)
DataflowTaskExecutionMetadataDaogetLatestManifest in interface DataflowTaskExecutionMetadataDaotaskName - name of task defintionTaskManifestpublic TaskManifest findManifestById(Long id)
DataflowTaskExecutionMetadataDaofindManifestById in interface DataflowTaskExecutionMetadataDaoid - execution idTaskManifestpublic int deleteManifestsByTaskExecutionIds(Set<Long> taskExecutionIds)
DataflowTaskExecutionMetadataDaodeleteManifestsByTaskExecutionIds in interface DataflowTaskExecutionMetadataDaotaskExecutionIds - collection of ids to delete the manifests forCopyright © 2022 Pivotal Software, Inc.. All rights reserved.