Searched refs:maxBuckets (Results 1 - 3 of 3) sorted by relevance

/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DBaseCache.java118 protected int maxBuckets; field in class:BaseCache
214 maxBuckets = 1;
215 while (maxBuckets < maxEntries && maxBuckets < MAX_BUCKETS) {
216 maxBuckets <<= 1;
220 _logger.log(Level.FINE, "EJBContainer.BaseCache about to create maxBuckets = " + maxBuckets
232 buckets = new CacheItem[maxBuckets];
233 bucketLocks = new Object[maxBuckets];
234 refreshFlags = new boolean[maxBuckets];
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBaseCache.java107 protected int maxBuckets; field in class:BaseCache
162 maxBuckets = 1;
163 while (maxBuckets < maxEntries)
164 maxBuckets <<= 1;
179 buckets = new CacheItem[maxBuckets];
180 bucketLocks = new Object[maxBuckets];
181 refreshFlags = new boolean[maxBuckets];
183 for (int i=0; i<maxBuckets; i++) {
306 return (hashCode & (maxBuckets - 1));
407 for (int index=0; index < maxBuckets; inde
[all...]
H A DMultiLruCache.java90 int segments = ((maxBuckets / segmentSize) +
91 (((maxBuckets % segmentSize) != 0) ? 1 : 0));

Completed in 3127 milliseconds