This commit is contained in:
RedKale
2016-06-19 11:08:48 +08:00
parent c313de6bfc
commit a71580dda1

View File

@@ -9,7 +9,6 @@ import java.io.*;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;
import static java.nio.file.StandardWatchEventKinds.*; import static java.nio.file.StandardWatchEventKinds.*;
import java.nio.file.*; import java.nio.file.*;
import static java.nio.file.StandardWatchEventKinds.*;
import java.util.AbstractMap.SimpleEntry; import java.util.AbstractMap.SimpleEntry;
import java.util.*; import java.util.*;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
@@ -81,8 +80,8 @@ public final class HttpResourceServlet extends HttpServlet {
protected final boolean finest = logger.isLoggable(Level.FINEST); protected final boolean finest = logger.isLoggable(Level.FINEST);
//缓存总大小, 默认128M //缓存总大小, 默认0
protected long cachelimit = 128 * 1024 * 1024L; protected long cachelimit = 0 * 1024 * 1024L;
protected final LongAdder cachedLength = new LongAdder(); protected final LongAdder cachedLength = new LongAdder();