Searched refs:loadFactor (Results 1 - 15 of 15) sorted by relevance

/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DEJBObjectCache.java61 long timeout, float loadFactor, java.util.Properties props);
60 init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, java.util.Properties props) argument
H A DNRUSessionCache.java60 public void init(int maxEntries, float loadFactor, Properties props) { argument
61 super.init(maxEntries, loadFactor, props);
H A DUnboundedEJBObjectCache.java75 long timeout, float loadFactor, Properties props)
77 super.init(maxEntries, loadFactor, props);
74 init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props) argument
H A DFIFOEJBObjectCache.java104 float loadFactor, Properties props)
106 super.init(maxEntries, loadFactor, props);
103 init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props) argument
H A DBaseCache.java189 * @param loadFactor the load factor
193 public void init(int maxEntries, float loadFactor, Properties props) { argument
227 threshold = (int)(maxEntries * loadFactor) + 1;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DParameterMap.java120 * @param loadFactor The load factor of this map
122 public ParameterMap(int initialCapacity, float loadFactor) { argument
124 super(initialCapacity, loadFactor);
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DCommitCEntityContainer.java75 float loadFactor, long idleTimeout)
74 createReadyStore(int cacheSize, int numberOfVictimsToSelect, float loadFactor, long idleTimeout) argument
H A DEntityContainer.java2619 float loadFactor = DEFAULT_LOAD_FACTOR;
2622 createReadyStore(cacheSize, numberOfVictimsToSelect, loadFactor,
2631 float loadFactor, long idleTimeout) throws Exception
2637 readyStore.init(cacheSize, loadFactor, null);
2642 loadFactor = (float) (1.0 - (1.0 *
2645 lru.init(cacheSize, idleTimeout, loadFactor, null);
2630 createReadyStore(int cacheSize, int numberOfVictimsToSelect, float loadFactor, long idleTimeout) argument
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DVersionConsistencyCacheImpl.java106 private static float loadFactor = 0.75F; field in class:VersionConsistencyCacheImpl
108 /** Name of property for specifying loadFactor. */
110 PROPERTY_PREFIX + "loadFactor"; // NOI18N
187 loadFactor = getFloatValue(LOAD_FACTOR_PROPERTY, loadFactor);
249 "\nloadFactor= " + loadFactor // NOI18N
549 new Float(loadFactor)}));
554 bucketSize, initialCapacity, loadFactor));
601 * @param loadFactor the load factor
604 LruVCCache(int maxEntries, long timeout, float loadFactor) { argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DCache.java58 * @param loadFactor the load factor
63 float loadFactor, Properties props) throws Exception;
62 init(int maxEntries, float loadFactor, Properties props) argument
H A DLruCache.java87 * @param loadFactor the load factor
92 public void init(int maxEntries, long timeout, float loadFactor, Properties props) { argument
103 super.init(maxEntries, loadFactor, props);
H A DBaseCache.java137 * @param loadFactor the load factor
141 public void init(int maxEntries, float loadFactor, Properties props) { argument
167 if( loadFactor < 0 )
168 loadFactor = 0;
174 threshold = (int)(maxEntries * loadFactor) + 1;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/builder/
H A DStatefulContainerBuilder.java323 float loadFactor = (float) (1.0 - ratio);
324 if (loadFactor < 0 || loadFactor > 1) {
325 loadFactor = 0.75f;
329 sessionCache.init(16 * 1024, loadFactor, null);
331 sessionCache.init(cacheProps.getMaxCacheSize(), loadFactor, null);
348 + cacheProps + "; loadFactor: "
349 + loadFactor
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/
H A DBucketizedHashtable.java66 * @param loadFactor the load factor of hashtable
69 float loadFactor) {
84 hashtables[i] = new Hashtable(initialHashtableSize, loadFactor);
68 BucketizedHashtable(int bucketSize, int initialCapacity, float loadFactor) argument
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DJavaEETransactionManagerSimplified.java167 float loadFactor = 0.75f; // FIXME: this loadFactor should be a config
190 loadFactor = f;
198 ((BaseCache)resourceTable).init(maxEntries, loadFactor, null);

Completed in 207 milliseconds