Class VertxClusteredMapStore<K,​V>

  • All Implemented Interfaces:
    org.pac4j.core.store.Store<K,​V>

    public class VertxClusteredMapStore<K,​V>
    extends VertxMapStoreBase
    implements org.pac4j.core.store.Store<K,​V>
    Pac4j shared store implementation based on vert.x clustered shared data.
    • Constructor Detail

      • VertxClusteredMapStore

        public VertxClusteredMapStore​(io.vertx.core.Vertx vertx)
      • VertxClusteredMapStore

        public VertxClusteredMapStore​(io.vertx.core.Vertx vertx,
                                      int timeoutSeconds)
    • Method Detail

      • get

        public V get​(K key)
        Specified by:
        get in interface org.pac4j.core.store.Store<K,​V>
      • set

        public void set​(K key,
                        V value)
        Specified by:
        set in interface org.pac4j.core.store.Store<K,​V>
      • remove

        public void remove​(K key)
        Specified by:
        remove in interface org.pac4j.core.store.Store<K,​V>
      • voidAsyncOpToBlocking

        public void voidAsyncOpToBlocking​(rx.functions.Func1<io.vertx.rxjava.core.shareddata.AsyncMap,​rx.Observable> asyncOp)