Interface InfinispanSessionStore
- All Superinterfaces:
SessionStore
An implementation of
SessionStore that relies on the Infinispan Java Client.-
Field Summary
Fields inherited from interface SessionStore
DEFAULT_SESSIONID_LENGTH -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic InfinispanSessionStorecreate(Vertx vertx, JsonObject options) Create a newInfinispanSessionStorefor the given configuration.static InfinispanSessionStorecreate(Vertx vertx, JsonObject options, org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager) Likecreate(Vertx, JsonObject)but with a pre-configured Infinispan Client.Methods inherited from interface SessionStore
clear, close, createSession, createSession, delete, get, init, put, retryTimeout, size
-
Method Details
-
create
Create a newInfinispanSessionStorefor 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
-