Lines Matching defs:limit

58  * limit, it is closed, rotated out, and a new file opened.
86 * <li> &lt;handler-name&gt;.limit
88 * to any one file. If this is zero, then there is no limit.
89 * (Defaults to no limit). </li>
154 private int limit; // zero => no limit.
227 limit = manager.getIntProperty(cname + ".limit", 0);
228 if (limit < 0) {
229 limit = 0;
272 * argument is used as the filename pattern, the file limit is
273 * set to no limit, and the file count is set to one.
275 * There is no limit on the amount of data that may be written,
291 this.limit = 0;
302 * argument is used as the filename pattern, the file limit is
303 * set to no limit, the file count is set to one, and the append
306 * There is no limit on the amount of data that may be written,
324 this.limit = 0;
332 * (approximately) the given limit has been written to one file,
338 * argument is used as the filename pattern, the file limit is
339 * set to the limit argument, and the file count is set to the
345 * @param limit the maximum number of bytes to write to any one file
350 * @exception IllegalArgumentException if {@code limit < 0}, or {@code count < 1}.
353 public FileHandler(String pattern, int limit, int count)
355 if (limit < 0 || count < 1 || pattern.length() < 1) {
361 this.limit = limit;
368 * with optional append. When (approximately) the given limit has
374 * argument is used as the filename pattern, the file limit is
375 * set to the limit argument, and the file count is set to the
382 * @param limit the maximum number of bytes to write to any one file
388 * @exception IllegalArgumentException if {@code limit < 0}, or {@code count < 1}.
392 public FileHandler(String pattern, int limit, int count, boolean append)
394 if (limit < 0 || count < 1 || pattern.length() < 1) {
400 this.limit = limit;
424 if (limit < 0) {
425 limit = 0;
687 if (limit > 0 && meter.written >= limit) {