Searched refs:threshold (Results 1 - 9 of 9) sorted by relevance

/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DThresholdingOutputStream.java70 * stream type when the threshold is exceeded.
76 * NOTE: This implementation may trigger the event <em>before</em> the threshold
78 * cause the threshold to be exceeded.
92 * The threshold at which the event will be triggered.
94 private int threshold; field in class:ThresholdingOutputStream
104 * Whether or not the configured threshold has been exceeded.
114 * specified threshold.
116 * @param threshold The number of bytes at which to trigger an event.
118 public ThresholdingOutputStream(int threshold) argument
120 this.threshold
[all...]
H A DDeferredFileOutputStream.java66 * threshold is reached, and only then commit it to disk. If the stream is
67 * closed before the threshold is reached, the data will not be written to
103 * The file to which output will be directed if the threshold is exceeded.
133 * specified threshold, and save data to a file beyond that point.
135 * @param threshold The number of bytes at which to trigger an event.
136 * @param outputFile The file to which data is saved beyond the threshold.
138 public DeferredFileOutputStream(int threshold, File outputFile) argument
140 super(threshold);
150 * specified threshold, and save data to a temporary file beyond that point.
152 * @param threshold Th
159 DeferredFileOutputStream(int threshold, String prefix, String suffix, File directory) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DUnBoundedSessionCache.java60 threshold = Integer.MAX_VALUE;
69 threshold *= 2;
H A DNRUSessionCache.java62 orderingThreshold = (int) (0.75 * threshold);
H A DBaseCache.java88 /** threshold for the cache; once the threshold is reached
91 protected int threshold = 0; field in class:BaseCache
223 /** initialize the threshold; a zero value for maxEntries
227 threshold = (int)(maxEntries * loadFactor) + 1;
268 * increase the threshold
271 // just double the threshold; this may degenerate the cache.
272 threshold = (threshold * 2);
282 * Here, if cache is overflowing (i.e. reached threshold); thi
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBaseCache.java77 /** threshold for the cache; once the threshold is reached
80 protected int threshold = 0; field in class:BaseCache
170 /** initialize the threshold; a zero value for maxEntries
174 threshold = (int)(maxEntries * loadFactor) + 1;
215 * increase the threshold
218 // just double the threshold; this may degenerate the cache.
219 threshold = (threshold * 2);
229 * Here, if cache is overflowing (i.e. reached threshold); thi
[all...]
/glassfish-3.1.2/ha/ha-file-store/src/main/java/org/glassfish/ha/store/adapter/file/
H A DFileBackingStore.java203 long threshold = System.currentTimeMillis() - idleForMillis;
218 if (lastAccessed < threshold) {
/glassfish-3.1.2/webservices/connector/src/main/java/org/glassfish/webservices/connector/annotation/handlers/
H A DWebServiceRefHandler.java266 aRef.setMtomThreshold(mtom.threshold());
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DStatefulSessionContainer.java1518 long threshold = now - (removalGracePeriodInSeconds * 1000L);
1519 if (context.getLastPersistedAt() <= threshold) {

Completed in 2534 milliseconds