Class VertxLocalMapStore<K,​V>

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

    public class VertxLocalMapStore<K,​V>
    extends VertxMapStoreBase
    implements org.pac4j.core.store.Store<K,​V>
    Implementation of pac4j store based on vert.x LocalMap implementation. If the store is to be cluster-wide then the clustered map implementation should be used instead.
    • Constructor Summary

      Constructors 
      Constructor Description
      VertxLocalMapStore​(io.vertx.core.Vertx vertx)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<V> get​(K key)  
      void remove​(K key)  
      void set​(K key, V value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VertxLocalMapStore

        public VertxLocalMapStore​(io.vertx.core.Vertx vertx)
    • Method Detail

      • get

        public java.util.Optional<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>