make flags public just so people can hack it if needed

This commit is contained in:
Shay Banon 2011-10-25 19:01:12 +02:00
parent 6f39fce41f
commit 8d08a66e66
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ public class CachedStreamOutput {
private static final SoftWrapper<Queue<Entry>> cache = new SoftWrapper<Queue<Entry>>();
private static final AtomicInteger counter = new AtomicInteger();
private static final int BYTES_LIMIT = 10 * 1024 * 1024; // don't cache entries that are bigger than that...
private static final int COUNT_LIMIT = 100;
public static int BYTES_LIMIT = 10 * 1024 * 1024; // don't cache entries that are bigger than that...
public static int COUNT_LIMIT = 100;
public static void clear() {
cache.clear();