Class RedisRouteRepository

  • All Implemented Interfaces:
    ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>

    public class RedisRouteRepository
    extends Object
    implements ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
    Сохранение и загрузка данных RouteRegister в Redis (key-value) БД
    • Constructor Detail

      • RedisRouteRepository

        public RedisRouteRepository()
    • Method Detail

      • save

        public net.n2oapp.framework.api.metadata.compile.CompileContext save​(net.n2oapp.framework.api.register.route.RouteInfoKey key,
                                                                             net.n2oapp.framework.api.metadata.compile.CompileContext value)
        Specified by:
        save in interface ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
      • getAll

        public Map<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext> getAll()
        Specified by:
        getAll in interface ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>
      • clearAll

        public void clearAll()
        Specified by:
        clearAll in interface ConfigRepository<net.n2oapp.framework.api.register.route.RouteInfoKey,​net.n2oapp.framework.api.metadata.compile.CompileContext>