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 voidbuildFeatures()DataStoreFeatureswithBerkleyKV(io.vertigo.core.param.Param... params)DataStoreFeatureswithCache()Activates caches.DataStoreFeatureswithDbFileStore(io.vertigo.core.param.Param... params)DataStoreFeatureswithDelayedMemoryKV(io.vertigo.core.param.Param... params)DataStoreFeatureswithEhCache()Activates caches.DataStoreFeatureswithEntityMetrics()DataStoreFeatureswithEntityStore()Add store to dynamoDataStoreFeatureswithFileStore(io.vertigo.core.param.Param... params)Add store to dynamoDataStoreFeatureswithFsFileStore(io.vertigo.core.param.Param... params)DataStoreFeatureswithFsFullFileStore(io.vertigo.core.param.Param... params)DataStoreFeatureswithKVStore()Add key/value store to dynamoDataStoreFeatureswithMemoryCache()Activates caches.DataStoreFeatureswithRedisCache(io.vertigo.core.param.Param... params)Activates caches.DataStoreFeatureswithSqlEntityStore(io.vertigo.core.param.Param... params)DataStoreFeatureswithTaskProxyMethod()
-
-
-
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:
buildFeaturesin classio.vertigo.core.node.config.Features<DataStoreFeatures>
-
-