Searched refs:fileThreshold (Results 1 – 2 of 2) sorted by relevance
43 private final int fileThreshold; field in FileBackedOutputStream75 public FileBackedOutputStream(int fileThreshold) { in FileBackedOutputStream() argument76 this(fileThreshold, false); in FileBackedOutputStream()90 public FileBackedOutputStream(int fileThreshold, boolean resetOnFinalize) { in FileBackedOutputStream() argument91 this.fileThreshold = fileThreshold; in FileBackedOutputStream()195 if (file == null && (memory.getCount() + len > fileThreshold)) { in update()
77 private void testThreshold(int fileThreshold, int dataSize, boolean singleByte, in testThreshold() argument80 FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); in testThreshold()82 int chunk1 = Math.min(dataSize, fileThreshold); in testThreshold()