Class DetachedSessionAttributes<C,B extends org.wildfly.clustering.cache.batch.Batch>

java.lang.Object
org.wildfly.clustering.session.cache.attributes.DetachedSessionAttributes<C,B>
All Implemented Interfaces:
AutoCloseable, Map<String,Object>, org.wildfly.clustering.server.Registration, SessionAttributes

public class DetachedSessionAttributes<C,B extends org.wildfly.clustering.cache.batch.Batch> extends Object implements SessionAttributes
Author:
Paul Ferraro
  • Constructor Details

    • DetachedSessionAttributes

      public DetachedSessionAttributes(Supplier<B> batchFactory, Supplier<org.wildfly.clustering.session.Session<C>> sessionFactory)
  • Method Details

    • keySet

      public Set<String> keySet()
      Specified by:
      keySet in interface Map<C,B extends org.wildfly.clustering.cache.batch.Batch>
    • entrySet

      public Set<Map.Entry<String,Object>> entrySet()
      Specified by:
      entrySet in interface Map<C,B extends org.wildfly.clustering.cache.batch.Batch>
    • values

      public Collection<Object> values()
      Specified by:
      values in interface Map<C,B extends org.wildfly.clustering.cache.batch.Batch>
    • get

      public Object get(Object name)
      Specified by:
      get in interface Map<C,B extends org.wildfly.clustering.cache.batch.Batch>
    • put

      public Object put(String name, Object value)
      Specified by:
      put in interface Map<C,B extends org.wildfly.clustering.cache.batch.Batch>
    • remove

      public Object remove(Object key)
      Specified by:
      remove in interface Map<C,B extends org.wildfly.clustering.cache.batch.Batch>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.wildfly.clustering.server.Registration