Searched refs:maxEntries (Results 1 - 13 of 13) sorted by relevance

/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/runtime/
H A DASCache.java67 String maxEntries=null;
78 maxEntries = cache.getAttributeValue(Cache.MAX_ENTRIES);
105 if(maxEntries !=null && maxEntries.length() != 0) // check maxEntries.length() != 0 because is IMPLIED att
107 intMaxEntries=Integer.parseInt(maxEntries);
126 new Object[] {maxEntries}));
134 new Object[] {maxEntries}));
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DEJBObjectCache.java60 public void init(int maxEntries, int numberOfVictimsToSelect, argument
H A DNRUSessionCache.java60 public void init(int maxEntries, float loadFactor, Properties props) { argument
61 super.init(maxEntries, loadFactor, props);
H A DUnboundedEJBObjectCache.java74 public void init(int maxEntries, int numberOfVictimsToSelect, argument
77 super.init(maxEntries, loadFactor, props);
H A DBaseCache.java82 int maxEntries; field in class:BaseCache
178 * @param maxEntries maximum number of entries expected in the cache
182 public void init(int maxEntries, Properties props) throws Exception { argument
183 init(maxEntries, DEFAULT_LOAD_FACTOR, props);
188 * @param maxEntries maximum number of entries expected in the cache
193 public void init(int maxEntries, float loadFactor, Properties props) { argument
198 if (maxEntries <= 0) {
201 Object[] params = { maxEntries };
207 if (maxEntries > MAX_ENTRIES) {
208 maxEntries
[all...]
H A DFIFOEJBObjectCache.java103 public void init(int maxEntries, int numberOfVictimsToSelect, long timeout, argument
106 super.init(maxEntries, loadFactor, props);
108 this.maxCacheSize = maxEntries;
380 .append("/").append(maxEntries)
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DCache.java57 * @param maxEntries maximum number of entries expected in the cache
62 public void init(int maxEntries, argument
67 * @param maxEntries maximum number of entries expected in the cache
71 public void init(int maxEntries, Properties props) throws Exception; argument
H A DBaseCache.java71 int maxEntries; field in class:BaseCache
126 * @param maxEntries maximum number of entries expected in the cache
130 public void init(int maxEntries, Properties props) throws Exception { argument
131 init(maxEntries, DEFAULT_LOAD_FACTOR, props);
136 * @param maxEntries maximum number of entries expected in the cache
141 public void init(int maxEntries, float loadFactor, Properties props) { argument
146 if (maxEntries <= 0) {
149 Integer obj = Integer.valueOf(maxEntries);
156 if (maxEntries > MAX_ENTRIES)
157 maxEntries
[all...]
H A DLruCache.java78 * to use when the maxEntries is <= 0.
86 * @param maxEntries maximum number of entries expected in the cache
92 public void init(int maxEntries, long timeout, float loadFactor, Properties props) { argument
95 if (maxEntries <= 0) {
96 maxEntries = defaultMaxEntries;
103 super.init(maxEntries, loadFactor, props);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/
H A DCacheManager.java76 int maxEntries = DEFAULT_CACHE_MAX_ENTRIES; field in class:CacheManager
116 * @param maxEntries number of entries the cache should carry
118 public void setMaxEntries(int maxEntries) { argument
119 this.maxEntries = maxEntries;
215 defaultCache = createCache(maxEntries, cacheClassName);
280 return createCache(maxEntries, DEFAULT_CACHE_CLASSNAME);
297 cacheImpl.init(maxEntries, cacheProps);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DVersionConsistencyCacheImpl.java130 private static int maxEntries = 131; field in class:VersionConsistencyCacheImpl
132 /** Name of property for specifying maxEntries. */
134 PROPERTY_PREFIX + "maxEntries"; // NOI18N
193 maxEntries = getIntValue(MAX_ENTRIES_PROPERTY, maxEntries);
252 + "\nmaxEntries=" + maxEntries // NOI18N
600 * @param maxEntries maximum number of entries expected in the cache
604 LruVCCache(int maxEntries, long timeout, float loadFactor) { argument
611 new Integer(maxEntries),
617 c.init(maxEntries, timeou
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DCacheModule.java113 int maxEntries = Integer.parseInt(value.trim());
114 manager.setMaxEntries(maxEntries);
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DJavaEETransactionManagerSimplified.java166 int maxEntries = 8192; // FIXME: this maxEntry should be a config
182 maxEntries = temp;
198 ((BaseCache)resourceTable).init(maxEntries, loadFactor, null);

Completed in 88 milliseconds