public class RdbmsDeploymentIdRepository extends AbstractRdbmsKeyValueRepository<String> implements DeploymentIdRepository
DeploymentIdRepository
.dataSource, deleteFromTableByKey, inClauseByKey, jdbcTemplate, keyColumn, LIST_OF_NAMES, namedParameterJdbcTemplate, orderMap, rowMapper, saveRow, selectClause, tableName, tablePrefix, tableSuffix, valueColumn, whereClauseByKey
Constructor and Description |
---|
RdbmsDeploymentIdRepository(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
void |
delete(String name)
Delete the entries associated with the app deployment key.
|
<S extends String> |
save(S key) |
void |
save(String key,
String deploymentId)
Associates a given app deployment key with an identifier.
|
count, delete, deleteAll, exists, findAll, findAll, findAll, findAll, findByNameLike, findOne, save
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findOne
public RdbmsDeploymentIdRepository(DataSource dataSource)
public void save(String key, String deploymentId)
DeploymentIdRepository
save
in interface DeploymentIdRepository
key
- the app deployment keydeploymentId
- the identifierpublic <S extends String> S save(S key)
public void delete(String name)
DeploymentIdRepository
delete
in interface DeploymentIdRepository
delete
in interface org.springframework.data.repository.CrudRepository<String,String>
delete
in class AbstractRdbmsKeyValueRepository<String>
name
- the app deployment keyCopyright © 2019 Pivotal Software, Inc.. All rights reserved.