Interface InfinispanSessionStore
-
- All Superinterfaces:
SessionStore
public interface InfinispanSessionStore extends SessionStore
An implementation ofSessionStore
that relies on the Infinispan Java Client.
-
-
Field Summary
-
Fields inherited from interface io.vertx.ext.web.sstore.SessionStore
DEFAULT_SESSIONID_LENGTH
-
-
Method Summary
Static Methods Modifier and Type Method Description static InfinispanSessionStore
create(Vertx vertx, JsonObject options)
Create a newInfinispanSessionStore
for the given configuration.static InfinispanSessionStore
create(Vertx vertx, JsonObject options, org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager)
Likecreate(Vertx, JsonObject)
but with a pre-configured Infinispan Client.-
Methods inherited from interface io.vertx.ext.web.sstore.SessionStore
clear, close, createSession, createSession, delete, get, init, put, retryTimeout, size
-
-
-
-
Method Detail
-
create
static InfinispanSessionStore create(Vertx vertx, JsonObject options)
Create a newInfinispanSessionStore
for the given configuration.- Parameters:
vertx
- vertx instanceoptions
- the configuration- Returns:
- the new instance
-
create
static InfinispanSessionStore create(Vertx vertx, JsonObject options, org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager)
Likecreate(Vertx, JsonObject)
but with a pre-configured Infinispan Client.- Parameters:
vertx
- vertx instanceoptions
- the configurationremoteCacheManager
- pre-configured Infinispan Client- Returns:
- the new instance
-
-