Class ValkeyBucketManager
java.lang.Object
org.eclipse.jnosql.databases.valkey.communication.ValkeyBucketManager
- All Implemented Interfaces:
AutoCloseable,org.eclipse.jnosql.communication.keyvalue.BucketManager
public class ValkeyBucketManager
extends Object
implements org.eclipse.jnosql.communication.keyvalue.BucketManager
The redis implementation to
BucketManager-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<K> void<K> voiddelete(K key) <K> Iterable<org.eclipse.jnosql.communication.Value><K> Optional<org.eclipse.jnosql.communication.Value>get(K key) name()voidvoid<K,V> void put(K key, V value) voidput(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity) void
-
Method Details
-
name
- Specified by:
namein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-
put
- Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
put
public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity) throws NullPointerException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
put
public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity, Duration ttl) throws NullPointerException, UnsupportedOperationException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerExceptionUnsupportedOperationException
-
put
public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> entities) throws NullPointerException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
put
public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> entities, Duration ttl) throws NullPointerException, UnsupportedOperationException - Specified by:
putin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerExceptionUnsupportedOperationException
-
get
- Specified by:
getin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
get
public <K> Iterable<org.eclipse.jnosql.communication.Value> get(Iterable<K> keys) throws NullPointerException - Specified by:
getin interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager- Throws:
NullPointerException
-
delete
public <K> void delete(K key) - Specified by:
deletein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-
delete
- Specified by:
deletein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.eclipse.jnosql.communication.keyvalue.BucketManager
-