Class VaultKeyValueAdapter
java.lang.Object
org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
org.springframework.vault.repository.core.VaultKeyValueAdapter
- All Implemented Interfaces:
DisposableBean,KeyValueAdapter
Vault-specific
KeyValueAdapter.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionVaultKeyValueAdapter(VaultOperations vaultOperations) Create a newVaultKeyValueAdaptergivenVaultOperations.VaultKeyValueAdapter(VaultOperations vaultOperations, VaultConverter vaultConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanlong<T> TvoiddeleteAllOf(String keyspace) <T> TdeleteEntity(T entity, String keyspace) voiddestroy()<T> TIterable<?>Methods inherited from class org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
count, find, find, getQueryEngineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.keyvalue.core.KeyValueAdapter
entries, exists, getAllOf
-
Constructor Details
-
VaultKeyValueAdapter
Create a newVaultKeyValueAdaptergivenVaultOperations.- Parameters:
vaultOperations- must not be null.
-
VaultKeyValueAdapter
- Parameters:
vaultOperations- must not be null.vaultConverter- must not be null.
-
-
Method Details
-
put
-
contains
-
get
-
get
- Specified by:
getin interfaceKeyValueAdapter- Overrides:
getin classAbstractKeyValueAdapter
-
delete
-
delete
- Specified by:
deletein interfaceKeyValueAdapter- Overrides:
deletein classAbstractKeyValueAdapter
-
deleteEntity
-
getAllOf
-
entries
-
deleteAllOf
-
clear
public void clear() -
count
-
destroy
- Throws:
Exception
-
getConverter
-
getVaultOperations
-