Package io.vertigo.datastore
Class DataStoreFeatures
- java.lang.Object
-
- io.vertigo.core.node.config.Features<DataStoreFeatures>
-
- io.vertigo.datastore.DataStoreFeatures
-
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<io.vertigo.core.node.config.ModuleConfig>
public final class DataStoreFeatures extends io.vertigo.core.node.config.Features<DataStoreFeatures>
Defines dynamo features.- Author:
- pchretien
-
-
Constructor Summary
Constructors Constructor Description DataStoreFeatures()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildFeatures()
DataStoreFeatures
withBerkleyKV(io.vertigo.core.param.Param... params)
DataStoreFeatures
withCache()
Activates caches.DataStoreFeatures
withDbFileStore(io.vertigo.core.param.Param... params)
DataStoreFeatures
withDelayedMemoryKV(io.vertigo.core.param.Param... params)
DataStoreFeatures
withEhCache()
Activates caches.DataStoreFeatures
withEntityMetrics()
DataStoreFeatures
withEntityStore()
Add store to dynamoDataStoreFeatures
withFileStore(io.vertigo.core.param.Param... params)
Add store to dynamoDataStoreFeatures
withFsFileStore(io.vertigo.core.param.Param... params)
DataStoreFeatures
withFsFullFileStore(io.vertigo.core.param.Param... params)
DataStoreFeatures
withKVStore()
Add key/value store to dynamoDataStoreFeatures
withMemoryCache()
Activates caches.DataStoreFeatures
withRedisCache(io.vertigo.core.param.Param... params)
Activates caches.DataStoreFeatures
withSqlEntityStore(io.vertigo.core.param.Param... params)
DataStoreFeatures
withTaskProxyMethod()
-
-
-
Method Detail
-
withEntityStore
public DataStoreFeatures withEntityStore()
Add store to dynamo- Returns:
- the feature
-
withSqlEntityStore
public DataStoreFeatures withSqlEntityStore(io.vertigo.core.param.Param... params)
-
withFileStore
public DataStoreFeatures withFileStore(io.vertigo.core.param.Param... params)
Add store to dynamo- Returns:
- the feature
-
withFsFileStore
public DataStoreFeatures withFsFileStore(io.vertigo.core.param.Param... params)
-
withDbFileStore
public DataStoreFeatures withDbFileStore(io.vertigo.core.param.Param... params)
-
withFsFullFileStore
public DataStoreFeatures withFsFullFileStore(io.vertigo.core.param.Param... params)
-
withKVStore
public DataStoreFeatures withKVStore()
Add key/value store to dynamo- Returns:
- the feature
-
withBerkleyKV
public DataStoreFeatures withBerkleyKV(io.vertigo.core.param.Param... params)
-
withDelayedMemoryKV
public DataStoreFeatures withDelayedMemoryKV(io.vertigo.core.param.Param... params)
-
withTaskProxyMethod
public DataStoreFeatures withTaskProxyMethod()
-
withEntityMetrics
public DataStoreFeatures withEntityMetrics()
-
withCache
public DataStoreFeatures withCache()
Activates caches.- Returns:
- these features
-
withRedisCache
public DataStoreFeatures withRedisCache(io.vertigo.core.param.Param... params)
Activates caches.- Returns:
- these features
-
withMemoryCache
public DataStoreFeatures withMemoryCache()
Activates caches.- Returns:
- these features
-
withEhCache
public DataStoreFeatures withEhCache()
Activates caches.- Returns:
- these features
-
buildFeatures
protected void buildFeatures()
- Specified by:
buildFeatures
in classio.vertigo.core.node.config.Features<DataStoreFeatures>
-
-