Searched refs:cache (Results 1 - 25 of 99) sorted by relevance

1234

/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DSQLTraceTimerTask.java46 * Sql Tracing Timer task used to preform a purgeEntries of the cache of objects
53 private SQLTraceCache cache; field in class:SQLTraceTimerTask
55 SQLTraceTimerTask(SQLTraceCache cache) { argument
56 this.cache = cache;
60 * Sql Tracing timer task to clean up the sql trace cache
64 //Redirecting the purge operation of the cache to the cache factory
65 cache.purgeEntries();
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/
H A DCacheManagerListener.java41 package com.sun.appserv.web.cache;
48 * cache manager was enabled
53 * cache manager was disabled
H A DCacheKeyGenerator.java41 package com.sun.appserv.web.cache;
47 * used to cache this request.
51 /** getCacheKey: generate the key to be used to cache the response.
54 * @return key string used to access the cache entry.
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/taglibs/cache/
H A DCacheContextListener.java41 package com.sun.appserv.web.taglibs.cache;
43 import com.sun.appserv.util.cache.Cache;
44 import com.sun.appserv.web.cache.CacheManager;
53 * It is used to create the cache and add it as a context attribute.
68 // see if a cache manager is already created and set in the context
72 // to create a new cache
76 Cache cache = null;
78 cache = cm.createCache();
81 // set the cache as a context attribute
82 if (cache !
[all...]
H A DCacheRequestListener.java41 package com.sun.appserv.web.taglibs.cache;
43 import com.sun.appserv.util.cache.Cache;
44 import com.sun.appserv.web.cache.CacheManager;
52 * ServletRequestListener which creates a cache for JSP tag body invocations
54 * events, and clears the cache in response to requestDestroyed events.
66 * of the web application, and adds newly created cache for JSP tag
75 // Check if a cache manager has already been created and set in the
80 // Create a new cache manager if one is not present and use it
81 // to create a new cache
86 Cache cache
[all...]
H A DCacheSessionListener.java41 package com.sun.appserv.web.taglibs.cache;
43 import com.sun.appserv.util.cache.Cache;
44 import com.sun.appserv.web.cache.CacheManager;
52 * HttpSessionListener which creates a cache for JSP tag body invocations
54 * and clears the cache in response to sessionDestroyed events.
66 * created cache for JSP tag body invocations as a session attribute.
75 // Check if a cache manager has already been created and set in the
80 // Create a new cache manager if one is not present and use it
81 // to create a new cache
86 Cache cache
[all...]
H A DConstants.java41 package com.sun.appserv.web.taglibs.cache;
54 * The context attribute name used to keep store the actual cache.
56 public static final String JSPTAG_CACHE_KEY = "com.sun.appserv.web.taglibs.cache.tag_cache";
59 * The request attribute name used to keep track of the cache tag counter.
60 * This is used to generate unique keys for every cache tag in a page.
62 public static final String JSPTAG_COUNTER_KEY = "com.sun.appserv.web.taglibs.cache.tag_counter";
H A DFlushTag.java41 package com.sun.appserv.web.taglibs.cache;
43 import com.sun.appserv.util.cache.Cache;
55 * allows you to invalidate a complete cache or a particular cache element
64 * The key for the cache entry that needs to be flushed.
69 * This specifies the scope of the cache that needs to be flushed.
97 // get the cache from the specified scope
98 Cache cache = CacheUtil.getCache(pageContext, _scope);
100 // generate the cache key using the user specified key.
106 cache
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DCacheListener.java41 package com.sun.appserv.util.cache;
45 * Generic cache listener interface
50 * an cached value is trimmed (to prevent cache overflow)
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/mbeans/
H A DJmxBoundedMultiLruCacheMBean.java46 package com.sun.appserv.util.cache.mbeans;
57 * Returns the current size of the cache in bytes
62 * Returns the upper bound on the cache size
H A DJmxLruCacheMBean.java46 package com.sun.appserv.util.cache.mbeans;
H A DJmxMultiLruCacheMBean.java46 package com.sun.appserv.util.cache.mbeans;
H A DJmxLruCache.java46 package com.sun.appserv.util.cache.mbeans;
48 import com.sun.appserv.util.cache.LruCache;
49 import com.sun.appserv.util.cache.Constants;
H A DJmxMultiLruCache.java46 package com.sun.appserv.util.cache.mbeans;
48 import com.sun.appserv.util.cache.MultiLruCache;
49 import com.sun.appserv.util.cache.Constants;
H A DJmxBoundedMultiLruCache.java46 package com.sun.appserv.util.cache.mbeans;
48 import com.sun.appserv.util.cache.BoundedMultiLruCache;
49 import com.sun.appserv.util.cache.Constants;
68 * Returns the current size of the cache in bytes
76 * Returns the upper bound on the cache size
H A DJmxBaseCacheMBean.java46 package com.sun.appserv.util.cache.mbeans;
82 * Return the number of cache hits
87 * Returns the number of cache misses
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DPermissionCacheFactory.java100 PermissionCache cache =
104 return registerPermissionCache(cache);
118 * permission types that will be managed by the cache.
124 * in the cache. This value may be null, in which case
138 PermissionCache cache =
141 return registerPermissionCache(cache);
155 * permission type that will be managed by the cache.
161 * in the cache. This value may be null, in which case
175 PermissionCache cache =
178 return registerPermissionCache(cache);
188 registerPermissionCache(PermissionCache cache) argument
195 removePermissionCache(PermissionCache cache) argument
[all...]
H A DJ2EESecurityManager.java58 private PermissionCache cache; field in class:J2EESecurityManager
149 return cache.checkPermission(new PropertyPermission(key, "read"));
160 cache = c;
162 (cache, new SocketPermission("*","connect"));
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DEJBObjectCacheListener.java41 package com.sun.ejb.containers.util.cache;
H A DMonitorableCache.java41 package com.sun.ejb.containers.util.cache;
H A DEJBObjectCache.java41 package com.sun.ejb.containers.util.cache;
43 import com.sun.appserv.util.cache.Cache;
H A DUnboundedEJBObjectCache.java41 package com.sun.ejb.containers.util.cache;
43 import com.sun.appserv.util.cache.Cache;
44 import com.sun.appserv.util.cache.CacheListener;
45 import com.sun.appserv.util.cache.Constants;
53 * An EJB(Local)Object cache that does not impose any limit on the
H A DFIFOEJBObjectCache.java41 package com.sun.ejb.containers.util.cache;
43 import com.sun.appserv.util.cache.Cache;
44 import com.sun.appserv.util.cache.CacheListener;
45 import com.sun.appserv.util.cache.Constants;
57 * A FIFO EJB(Local)Object cache that maintains reference count
82 ("cache.printrefcount"))).booleanValue();
109 _logger.log(Level.FINE, name + ": FIFOEJBObject cache created....");
248 // if there was no item in the cache, insert the given item
463 FIFOEJBObjectCache cache = new FIFOEJBObjectCache("UnitTestCache");
464 cache
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/mapping/
H A DConstants.java41 package com.sun.appserv.web.cache.mapping;
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/
H A DResourceCache.java65 * Implements a special purpose cache.
93 protected CacheEntry[] cache = new CacheEntry[0]; field in class:ResourceCache
97 * Not found cache.
116 * Entry hit ratio at which an entry will never be removed from the cache.
129 * Current cache size in KB.
135 * Number of accesses to the cache.
141 * Number of cache hits.
160 * Return the maximum size of the cache in KB.
168 * Set the maximum size of the cache in KB.
176 * Return the current cache siz
[all...]

Completed in 52 milliseconds

1234