Searched refs:maxSize (Results 1 - 11 of 11) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBoundedMultiLruCache.java57 protected long maxSize = Constants.DEFAULT_MAX_CACHE_SIZE; field in class:BoundedMultiLruCache
97 maxSize = (size * multiplier);
162 return (currentSize > maxSize || super.isThresholdReached());
197 if (maxSize == Constants.DEFAULT_MAX_CACHE_SIZE)
200 stat = Long.valueOf(maxSize);
213 if (maxSize == Constants.DEFAULT_MAX_CACHE_SIZE) {
219 Long.valueOf(maxSize));
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/datastructure/
H A DListDataStructure.java62 private int maxSize; field in class:ListDataStructure
68 public ListDataStructure(String parameters, int maxSize, ResourceHandler handler, String strategyClass) { argument
69 resources = new ArrayList<ResourceHandle>((maxSize > 1000) ? 1000 : maxSize);
70 free = new ArrayList<ResourceHandle>((maxSize > 1000) ? 1000 : maxSize);
74 setMaxSize(maxSize);
79 * Set maxSize based on the new max pool size set on the connection pool
82 * maxSize is increased and hence so many permits are released.
84 * maxSize ha
[all...]
H A DRWLockDataStructure.java64 private int maxSize; field in class:RWLockDataStructure
74 public RWLockDataStructure(String parameters, int maxSize, argument
76 resources = new ArrayList<ResourceHandle>((maxSize > 1000) ? 1000 : maxSize);
77 this.maxSize = maxSize;
95 //for now, coarser lock. finer lock needs "resources.size() < maxSize()" once more.
97 for (int i = 0; i < count && resources.size() < maxSize; i++) {
215 * Set maxSize based on the new max pool size set on the connection pool
218 * @param maxSize
220 setMaxSize(int maxSize) argument
[all...]
H A DDataStructure.java61 * Set maxSize based on the new max pool size set on the connection pool
64 * @param maxSize
66 void setMaxSize(int maxSize); argument
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/datastructure/
H A DCacheFactory.java70 int maxSize) throws ResourceException {
75 stmtCacheStructure = new LRUCacheImpl(poolInfo, maxSize);
78 maxSize);
114 int maxSize) throws Exception {
116 Object[] constructorParameters = new Object[]{maxSize};
69 getDataStructure(PoolInfo poolInfo, String className, int maxSize) argument
113 initializeCacheStructure(String className, int maxSize) argument
H A DLRUCacheImpl.java67 private int maxSize ; field in class:LRUCacheImpl
76 public LRUCacheImpl(PoolInfo poolInfo, int maxSize){ argument
77 this.maxSize = maxSize;
128 if(list.size() >= maxSize){
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DEjbContainerTest.java55 final String maxSize = Integer.toString(generateRandomNumber(64));
62 setFieldValue("form1:propertySheet:poolSettingSection:MaxSizeProp:MaxSize", maxSize);
73 assertEquals(maxSize, getFieldValue("form1:propertySheet:poolSettingSection:MaxSizeProp:MaxSize"));
82 final String maxSize = Integer.toString(generateRandomNumber(64));
90 setFieldValue("form1:propertySheet:propertySectionTextField:MaxSizeProp:MaxSize", maxSize);
104 assertEquals(maxSize, getFieldValue("form1:propertySheet:propertySectionTextField:MaxSizeProp:MaxSize"));
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/
H A DFileCacheStatsProviderGlobal.java108 final long maxSize = maxHeapSize.get();
109 if (newSize > maxSize) {
110 if (maxHeapSize.compareAndSet(maxSize, newSize)) {
H A DFileCacheStatsProvider.java242 final long maxSize = maxHeapSize.get();
243 if (newSize > maxSize) {
244 if (maxHeapSize.compareAndSet(maxSize, newSize)) {
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DSQLTraceCache.java74 public SQLTraceCache(String poolName, String appName, String moduleName, int maxSize, long timeToKeepQueries) { argument
78 this.numTopQueriesToReport = maxSize;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DEntityContainer.java457 int maxSize = 0;
459 maxSize = (cacheProp.maxCacheSize <= 0)
464 return maxSize;

Completed in 140 milliseconds