Class TeamCache

java.lang.Object
org.imixs.marty.team.TeamCache

public class TeamCache extends Object
This singleton ejb provides a cache to lookup orgunit member information. The cache is used by the TeamLookupService EJB. The bean reads its configuration imixs.properties file team.cache-size = maximum number of entries team.cache-expires = milliseconds after the cache is discarded The cache-size should be set to the value of minimum concurrent user sessions. cache-expires specifies the expire time of the cache in milliseconds.
Version:
1.0
Author:
rsoika
  • Constructor Details

    • TeamCache

      public TeamCache()
  • Method Details

    • resetCache

      public void resetCache()
      resets the cache object and reads the config params....
    • get

      public Object get(String key)
    • contains

      public boolean contains(String key)
      returns true if the key is contained in the cache.
    • put

      public void put(String key, Object value)