public interface DynamoDBStoreConfigurationChildBuilder<S> extends org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
Modifier and Type | Method and Description |
---|---|
DynamoDBStoreConfigurationChildBuilder |
applyRangeKey(String rangeKeyName)
Sets the name of the optional range key to apply to all DynamoDB
operations.
|
DynamoDBStoreConfigurationChildBuilder |
consistentReads(boolean enable)
Sets the consistent read flag.
|
DynamoDBStoreConfigurationChildBuilder |
enableContinuousBackups(boolean enable)
Sets the enable continuous backups / point in time recovery.
|
DynamoDBStoreConfigurationChildBuilder |
enableStream(boolean enable)
Sets the enable stream flag.
|
DynamoDBStoreConfigurationChildBuilder |
enableTTL(boolean enable)
Sets the enable DynamoDB item expiration.
|
DynamoDBStoreConfigurationChildBuilder |
endpoint(String endpoint)
Sets the DynamoDB endpoint.
|
DynamoDBStoreConfigurationChildBuilder |
hmacSHA256Key(String key)
Sets the HMAC SHA-256 key.
|
DynamoDBStoreConfigurationChildBuilder |
httpProxyHost(String host)
Sets the HTTP proxy host.
|
DynamoDBStoreConfigurationChildBuilder |
httpProxyPort(int port)
Sets the HTTP proxy port.
|
DynamoDBStoreConfigurationChildBuilder |
indexedAttributes(Set<String> indexAttributes)
Sets the optional indexed DynamoDB table attributes.
|
DynamoDBStoreConfigurationChildBuilder |
itemTransformerClass(Class itemTransformerClass)
Sets the class for transforming between Infinispan entries (key /
value pair and optional metadata) and a corresponding DynamoDB item.
|
DynamoDBStoreConfigurationChildBuilder |
metricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
Sets an explicit metric registry to use (other than singleton
MonitorRegistries ). |
DynamoDBStoreConfigurationChildBuilder |
purgeLimit(int purgeLimit)
Sets the limit of expired entries to purge during a run of the
expired entry reaper task.
|
DynamoDBStoreConfigurationChildBuilder |
queryExecutorClass(Class queryExecutorClass)
Sets the optional class for executing direct queries against
DynamoDB.
|
DynamoDBStoreConfigurationChildBuilder |
rangeKeyValue(String rangeKeyValue)
Sets the value of the optional range key.
|
DynamoDBStoreConfigurationChildBuilder |
readCapacity(long readCapacity)
Sets the read capacity to provision when creating a new DynamoDB
table.
|
DynamoDBStoreConfigurationChildBuilder |
region(com.amazonaws.regions.Regions region)
Sets the DynamoDB region.
|
DynamoDBStoreConfigurationChildBuilder |
tablePrefix(String tablePrefix)
Sets the DynamoDB table prefix.
|
DynamoDBStoreConfigurationChildBuilder |
tableWithEncryptionAtRest(boolean encryptionAtRest)
Sets the DynamoDB table encryption at rest.
|
DynamoDBStoreConfigurationChildBuilder |
writeCapacity(long writeCapacity)
Sets the write capacity to provision when creating a new DynamoDB
table.
|
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, singleton, transactional, withProperties
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, encoding, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, validate, versioning
DynamoDBStoreConfigurationChildBuilder endpoint(String endpoint)
endpoint
- The endpoint, null
if not specified.DynamoDBStoreConfigurationChildBuilder region(com.amazonaws.regions.Regions region)
region
- The region, null
if not specified.DynamoDBStoreConfigurationChildBuilder itemTransformerClass(Class itemTransformerClass)
itemTransformerClass
- The item transformer class. Must not
be null
.DynamoDBStoreConfigurationChildBuilder queryExecutorClass(Class queryExecutorClass)
indexedAttributes(java.util.Set<java.lang.String>)
must also be specified.queryExecutorClass
- The query executor class, null
if
not required.DynamoDBStoreConfigurationChildBuilder indexedAttributes(Set<String> indexAttributes)
queryExecutorClass(java.lang.Class)
must also be specified.indexAttributes
- The indexed attributes, null
if not
required.DynamoDBStoreConfigurationChildBuilder consistentReads(boolean enable)
enable
- true
for consistent reads, false
for
eventually consistent.DynamoDBStoreConfigurationChildBuilder readCapacity(long readCapacity)
readCapacity
- The read capacity. Must be equal or larger than
one.DynamoDBStoreConfigurationChildBuilder writeCapacity(long writeCapacity)
writeCapacity
- The write capacity. Must be equal or larger
than one.DynamoDBStoreConfigurationChildBuilder tableWithEncryptionAtRest(boolean encryptionAtRest)
encryptionAtRest
- true
to create the DynamoDB table
with encryption at rest, false
with
no encryption.DynamoDBStoreConfigurationChildBuilder tablePrefix(String tablePrefix)
tablePrefix
- The table prefix, null
if not specified.DynamoDBStoreConfigurationChildBuilder metricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
MonitorRegistries
).metricRegistry
- The metric registry to use.DynamoDBStoreConfigurationChildBuilder applyRangeKey(String rangeKeyName)
rangeKeyName
- The range key name, null
if not
specified.DynamoDBStoreConfigurationChildBuilder rangeKeyValue(String rangeKeyValue)
rangeKeyValue
- The range key value, null
if not
specified.DynamoDBStoreConfigurationChildBuilder enableStream(boolean enable)
enable
- true
to enable a stream for a global table,
false
for a regular table.DynamoDBStoreConfigurationChildBuilder enableContinuousBackups(boolean enable)
enable
- true
to enable continuous backups,
false
without.DynamoDBStoreConfigurationChildBuilder enableTTL(boolean enable)
enable
- true
to enable item expiration, false
without.DynamoDBStoreConfigurationChildBuilder purgeLimit(int purgeLimit)
purgeLimit
- The purge limit, -1 for no limit.DynamoDBStoreConfigurationChildBuilder httpProxyHost(String host)
host
- The host, null
if none.DynamoDBStoreConfigurationChildBuilder httpProxyPort(int port)
port
- The port, -1 if none.DynamoDBStoreConfigurationChildBuilder hmacSHA256Key(String key)
key
- The HMAC SHA-256 key, null
if none.Copyright © 2021 Connect2id Ltd.. All rights reserved.