Examples of RedisStore


Examples of brooklyn.entity.nosql.redis.RedisStore

        iconUrl="classpath://nodejs-logo.png")
public class NodeJsTodoApplication extends AbstractApplication implements StartableApplication {

    @Override
    public void initApp() {
        RedisStore redis = addChild(EntitySpec.create(RedisStore.class));

        addChild(EntitySpec.create(NodeJsWebAppService.class)
                .configure(NodeJsWebAppService.APP_GIT_REPOSITORY_URL, "https://github.com/grkvlt/nodejs-todo/")
                .configure(NodeJsWebAppService.APP_FILE, "server.js")
                .configure(NodeJsWebAppService.APP_NAME, "nodejs-todo")
View Full Code Here

Examples of com.nhncorp.mods.socket.io.impl.stores.RedisStore

  public Settings(JsonObject options) {
    this.origins = options.getString("origins", this.origins);
    this.log = options.getBoolean("log", this.log);
    String store = options.getString("store");
    if(store != null) {
      if(store.equals("redis")) this.store = new RedisStore();
    }
    this.Static = options.getString("Static", this.Static);
    this.heartbeats = options.getBoolean("heartbeats", this.heartbeats);
    this.namespace = options.getString("namespace", this.namespace);
    this.transports = options.getString("transports", this.transports);
View Full Code Here

Examples of org.springframework.data.redis.support.collections.RedisStore

    return fb.getObject();
  }

  @Test
  public void testNone() throws Exception {
    RedisStore store = createCollection("nosrt", CollectionType.PROPERTIES);
    assertThat(store, instanceOf(RedisProperties.class));

    store = createCollection("nosrt", CollectionType.MAP);
    assertThat(store, instanceOf(DefaultRedisMap.class));
View Full Code Here

Examples of org.springframework.data.redis.support.collections.RedisStore

  public void testExistingCol() throws Exception {
    String key = "set";
    String val = "value";

    template.boundSetOps(key).add(val);
    RedisStore col = createCollection(key);
    assertThat(col, instanceOf(DefaultRedisSet.class));

    key = "map";
    template.boundHashOps(key).put(val, val);
    col = createCollection(key);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.