Class PoolStrategy

java.lang.Object
com.thebuzzmedia.exiftool.core.strategies.PoolStrategy
All Implemented Interfaces:
ExecutionStrategy, AutoCloseable

public class PoolStrategy extends Object implements ExecutionStrategy
Implementation of ExecutionStrategy using a pool of strategies. Each time {execute(CommandExecutor, String, List, OutputHandler) method is called, an internal strategy from the pool is picked and return to the pool once work is finished. This strategy should be used in a multithreaded environment, when application need to extract exif data from images in parallel.