Class InfinispanBucketManager

java.lang.Object
org.eclipse.jnosql.databases.infinispan.communication.InfinispanBucketManager
All Implemented Interfaces:
AutoCloseable, org.eclipse.jnosql.communication.keyvalue.BucketManager

public class InfinispanBucketManager extends Object implements org.eclipse.jnosql.communication.keyvalue.BucketManager
The Infinispan implementation of BucketManager
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public <K, V> void put(K key, V value)
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity) throws NullPointerException
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
      Throws:
      NullPointerException
    • put

      public void put(org.eclipse.jnosql.communication.keyvalue.KeyValueEntity entity, Duration ttl)
      Specified by:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • put

      public void put(Iterable<org.eclipse.jnosql.communication.keyvalue.KeyValueEntity> entities) throws NullPointerException
      Specified by:
      put in interface org.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:
      put in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
      Throws:
      NullPointerException
      UnsupportedOperationException
    • get

      public <K> Optional<org.eclipse.jnosql.communication.Value> get(K key) throws NullPointerException
      Specified by:
      get in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
      Throws:
      NullPointerException
    • get

      public <K> Iterable<org.eclipse.jnosql.communication.Value> get(Iterable<K> keys) throws NullPointerException
      Specified by:
      get in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
      Throws:
      NullPointerException
    • delete

      public <K> void delete(K key)
      Specified by:
      delete in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • delete

      public <K> void delete(Iterable<K> keys)
      Specified by:
      delete in interface org.eclipse.jnosql.communication.keyvalue.BucketManager
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.eclipse.jnosql.communication.keyvalue.BucketManager