@ThreadSafe @MetaInfServices public class DynamoDBStore<K,V> extends com.nimbusds.infinispan.persistence.common.InfinispanStore<K,V>
org.infinispan.persistence.spi.AdvancedCacheLoader.CacheLoaderTask<K,V>, org.infinispan.persistence.spi.AdvancedCacheLoader.TaskContext
Constructor and Description |
---|
DynamoDBStore() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(Object key) |
boolean |
delete(Object key) |
DynamoDBStoreConfiguration |
getConfiguration()
Returns the DynamoDB store configuration.
|
com.nimbusds.infinispan.persistence.common.query.QueryExecutor<K,V> |
getQueryExecutor() |
com.amazonaws.services.dynamodbv2.document.Table |
getTable()
Returns the underlying DynamoDB table.
|
void |
init(org.infinispan.persistence.spi.InitializationContext ctx) |
org.infinispan.marshall.core.MarshalledEntry<K,V> |
load(Object key) |
org.reactivestreams.Publisher<org.infinispan.marshall.core.MarshalledEntry<K,V>> |
publishEntries(Predicate<? super K> filter,
boolean fetchValue,
boolean fetchMetadata) |
void |
purge(Executor executor,
org.infinispan.persistence.spi.AdvancedCacheExpirationWriter.ExpirationPurgeListener<K,V> purgeListener) |
void |
purge(Executor executor,
org.infinispan.persistence.spi.AdvancedCacheWriter.PurgeListener<? super K> purgeListener) |
int |
size() |
void |
start() |
void |
stop() |
void |
write(org.infinispan.marshall.core.MarshalledEntry<? extends K,? extends V> marshalledEntry) |
getCacheName, getInitContext, getInstances
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public DynamoDBStore()
public DynamoDBStoreConfiguration getConfiguration()
null
if not
initialised.public com.amazonaws.services.dynamodbv2.document.Table getTable()
null
if not initialised.public com.nimbusds.infinispan.persistence.common.query.QueryExecutor<K,V> getQueryExecutor()
public void init(org.infinispan.persistence.spi.InitializationContext ctx)
public void start()
public void stop()
public void write(org.infinispan.marshall.core.MarshalledEntry<? extends K,? extends V> marshalledEntry)
public org.reactivestreams.Publisher<org.infinispan.marshall.core.MarshalledEntry<K,V>> publishEntries(Predicate<? super K> filter, boolean fetchValue, boolean fetchMetadata)
public int size()
public void clear()
public void purge(Executor executor, org.infinispan.persistence.spi.AdvancedCacheWriter.PurgeListener<? super K> purgeListener)
Copyright © 2019 Connect2id Ltd.. All rights reserved.