Commit 43f2d197 authored by Michael Ritter's avatar Michael Ritter
Browse files

#48 Rework the CollectionCountContext to update when counts are < 0

This replaces the old Maps for caching with a LoadingCache which
provides a simple interface for refreshing and evicting records. There's
probably still some improvement to be made but the sum/count queries are
fairly quick from my experience.
parent 3efcff2a
......@@ -49,44 +49,6 @@
<target>1.8</target>
</configuration>
</plugin>
<!-- debian package made easy -->
<!--
<plugin>
<artifactId>jdeb</artifactId>
<groupId>org.vafer</groupId>
<version>0.11</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jdeb</goal>
</goals>
<configuration>
<controlDir>${basedir}/src/main/deb/control</controlDir>
<dataSet>
<data>
<src>${project.build.directory}/${project.build.finalName}.war</src>
<type>file</type>
<dst>ace-am.war</dst>
<mapper>
<type>perm</type>
<prefix>/var/lib/tomcat6/webapps</prefix>
</mapper>
</data>
<data>
<src>${basedir}/src/main/sql/ace-am.sql</src>
<type>file</type>
<mapper>
<type>perm</type>
<prefix>/tmp</prefix>
</mapper>
</data>
</dataSet>
</configuration>
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
......@@ -166,7 +128,6 @@
</dependency>
<!-- Various libs for helping with stuff -->
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
......@@ -194,7 +155,13 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
<version>25.0-jre</version>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.6.2</version>
</dependency>
<dependency>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment