Browse Source
Fixes for unmanaged FileInputStreams hogging file descriptors.
Fixes for unmanaged FileInputStreams hogging file descriptors.
Misc UI fixes. Temporary fallback to the sequential engine as it works on remote files and consistently. Massive cleanup work. Need to go through code and do a little more cleanup. Need to inspect why the concurrent engine chokes on remote files and multiple runs. (Nothing helpful in logs as of yet.)master
Drew Short
10 years ago
35 changed files with 364 additions and 210 deletions
-
15pom.xml
-
2src/includes/LICENSE
-
3src/main/java/com/sothr/imagetools/AppCLI.java
-
30src/main/java/com/sothr/imagetools/AppConfig.java
-
2src/main/java/com/sothr/imagetools/errors/ImageToolsException.java
-
5src/main/java/com/sothr/imagetools/util/ResourceLoader.java
-
6src/main/resources/application.conf
-
1src/main/resources/ehcache.xml
-
15src/main/resources/fxml/mainapp/MainApp.fxml
-
16src/main/scala/com/sothr/imagetools/dao/HibernateUtil.scala
-
6src/main/scala/com/sothr/imagetools/dao/ImageDAO.scala
-
3src/main/scala/com/sothr/imagetools/dto/ImageHashDTO.scala
-
36src/main/scala/com/sothr/imagetools/engine/ConcurrentEngine.scala
-
19src/main/scala/com/sothr/imagetools/engine/Engine.scala
-
13src/main/scala/com/sothr/imagetools/engine/SequentialEngine.scala
-
4src/main/scala/com/sothr/imagetools/hash/DHash.scala
-
36src/main/scala/com/sothr/imagetools/hash/HashService.scala
-
4src/main/scala/com/sothr/imagetools/hash/PerceptualHasher.scala
-
7src/main/scala/com/sothr/imagetools/image/Image.scala
-
5src/main/scala/com/sothr/imagetools/image/ImageFilter.scala
-
26src/main/scala/com/sothr/imagetools/image/ImageService.scala
-
4src/main/scala/com/sothr/imagetools/image/SimilarImages.scala
-
3src/main/scala/com/sothr/imagetools/ui/component/ImageTile.scala
-
54src/main/scala/com/sothr/imagetools/ui/component/ImageTileFactory.scala
-
101src/main/scala/com/sothr/imagetools/ui/controller/AppController.scala
-
4src/main/scala/com/sothr/imagetools/util/DirectoryFilter.scala
-
59src/main/scala/com/sothr/imagetools/util/PropertiesService.scala
-
10src/main/scala/com/sothr/imagetools/util/PropertyEnum.scala
-
46src/main/scala/com/sothr/imagetools/util/Version.scala
-
6src/test/resources/application.conf
-
4src/test/scala/com/sothr/imagetools/BaseTest.scala
-
4src/test/scala/com/sothr/imagetools/EngineTest.scala
-
2src/test/scala/com/sothr/imagetools/ScalaAppTest.scala
-
18src/test/scala/com/sothr/imagetools/hash/HashServiceTest.scala
-
5src/test/scala/com/sothr/imagetools/image/ImageFilterTest.scala
@ -1,12 +1,17 @@ |
|||
package com.sothr.imagetools |
|||
package com.sothr.imagetools.engine |
|||
|
|||
import com.sothr.imagetools.image.{SimilarImages, ImageFilter, Image} |
|||
import scala.collection.mutable |
|||
import java.io.File |
|||
import grizzled.slf4j.Logging |
|||
|
|||
import akka.actor.{ActorRef, Props} |
|||
import com.sothr.imagetools.image.{Image, ImageService, SimilarImages} |
|||
import grizzled.slf4j.Logging |
|||
|
|||
import scala.collection.mutable |
|||
|
|||
/** |
|||
* Engine that works sequentially |
|||
* Very Slow, but consistent. Excellent for testing |
|||
* |
|||
* Created by drew on 1/26/14. |
|||
*/ |
|||
class SequentialEngine extends Engine with Logging { |
Write
Preview
Loading…
Cancel
Save
Reference in new issue