Class DefaultDispatchService

java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
com.github.kwhat.jnativehook.dispatcher.DefaultDispatchService
All Implemented Interfaces:
Executor, ExecutorService

public class DefaultDispatchService extends ThreadPoolExecutor
Default implementation of the ExecutorService used to dispatch native events. This is effectively the same as calling Executors.newSingleThreadExecutor().

Since:
2.0
Version:
2.0
Author:
Alexander Barker (alex@1stleg.com)
See Also:
  • Constructor Details

    • DefaultDispatchService

      public DefaultDispatchService()
      Instantiates a new default dispatch service using a single thread.