@Immutable public class DynamoDBStoreConfiguration extends org.infinispan.configuration.cache.AbstractStoreConfiguration implements com.nimbusds.common.config.LoggableConfiguration
Constructor and Description |
---|
DynamoDBStoreConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes,
org.infinispan.configuration.cache.AsyncStoreConfiguration asyncConfig,
org.infinispan.configuration.cache.SingletonStoreConfiguration singletonStoreConfig)
Creates a new DynamoDB store configuration.
|
Modifier and Type | Method and Description |
---|---|
static org.infinispan.commons.configuration.attributes.AttributeSet |
attributeDefinitionSet()
Returns the attribute definitions for the DynamoDB store configuration.
|
String |
getApplyRangeKey()
Returns the name of the optional range key to apply to all DynamoDB
operations.
|
String |
getEndpoint()
Returns the DynamoDB endpoint.
|
Set<String> |
getIndexedAttributes()
Returns the optional indexed DynamoDB attributes.
|
Class |
getItemTransformerClass()
Returns the class for transforming between Infinispan entries (key /
value pairs and optional metadata) and a corresponding DynamoDB
item.
|
com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput |
getProvisionedThroughput()
Returns the read and write capacity to provision when creating a new
DynamoDB table.
|
Class |
getQueryExecutorClass()
Returns the optional class for executing direct queries against
DynamoDB.
|
String |
getRangeKeyValue()
Returns the value of the optional range key.
|
com.amazonaws.regions.Regions |
getRegion()
Returns the AWS region.
|
String |
getTablePrefix()
Returns the optional DynamoDB table prefix.
|
void |
log() |
Properties |
properties() |
public DynamoDBStoreConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, org.infinispan.configuration.cache.AsyncStoreConfiguration asyncConfig, org.infinispan.configuration.cache.SingletonStoreConfiguration singletonStoreConfig)
attributes
- The configuration attributes. Must not
be null
.asyncConfig
- Configuration for the async cache
loader.singletonStoreConfig
- Configuration for a singleton store.public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
public String getEndpoint()
null
if not set.public com.amazonaws.regions.Regions getRegion()
public Class getItemTransformerClass()
public Class getQueryExecutorClass()
See QueryExecutor
null
if not specified.public Set<String> getIndexedAttributes()
null
if no specified.public com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput getProvisionedThroughput()
public String getTablePrefix()
public String getApplyRangeKey()
null
if not specified.public String getRangeKeyValue()
null
if not specified.public Properties properties()
properties
in interface org.infinispan.configuration.cache.StoreConfiguration
properties
in class org.infinispan.configuration.cache.AbstractStoreConfiguration
public void log()
log
in interface com.nimbusds.common.config.LoggableConfiguration
Copyright © 2018 Connect2id Ltd.. All rights reserved.