com.jetdrone.vertx.yoke.store.SessionStore Maven / Gradle / Ivy
/**
* Copyright 2011-2014 the original author or authors.
*/
package com.jetdrone.vertx.yoke.store;
import org.vertx.java.core.Handler;
import org.vertx.java.core.json.JsonArray;
import org.vertx.java.core.json.JsonObject;
/** # SessionStore */
public interface SessionStore {
// Attempt to fetch session by the given `sid`.
void get(String sid, Handler callback);
// Commit the given `sess` object associated with the given `sid`.
void set(String sid, JsonObject sess, Handler