Class 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 Detail

      • DataStoreFeatures

        public DataStoreFeatures()
        Constructor.
    • 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)
      • 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 class io.vertigo.core.node.config.Features<DataStoreFeatures>