Browse Source
Added the first round of caching, added some compile time settings, modified the start scripts.
master
Added the first round of caching, added some compile time settings, modified the start scripts.
master
Drew Short
11 years ago
8 changed files with 174 additions and 86 deletions
-
16pom.xml
-
2src/includes/startCLI.sh
-
4src/includes/startGUI.sh
-
18src/main/java/com/sothr/imagetools/AppConfig.java
-
8src/main/resources/ehcache.xml
-
2src/main/scala/com/sothr/imagetools/dto/ImageHashDTO.scala
-
8src/test/resources/ehcache.xml
-
44src/test/scala/com/sothr/imagetools/hash/HashServiceTest.scala
@ -0,0 +1,4 @@ |
|||
#!/bin/bash |
|||
echo "Welcome to Image Tools version: ${project.version}" |
|||
command="-Xmx1.5G -jar ${project.name}-${project.version}-jfx.jar" |
|||
java $command |
@ -0,0 +1,8 @@ |
|||
<ehcache maxBytesLocalHeap="512M" maxBytesLocalDisk="5g" > |
|||
<cache name="images" |
|||
timeToLiveSeconds="100"> |
|||
</cache> |
|||
<cache name="thumbnails" |
|||
timeToLiveSeconds="100"> |
|||
</cache> |
|||
</ehcache> |
@ -0,0 +1,8 @@ |
|||
<ehcache maxBytesLocalHeap="512M" maxBytesLocalDisk="5g" > |
|||
<cache name="images" |
|||
timeToLiveSeconds="100"> |
|||
</cache> |
|||
<cache name="thumbnails" |
|||
timeToLiveSeconds="100"> |
|||
</cache> |
|||
</ehcache> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue