Class SharedExecutor


  • public final class SharedExecutor
    extends java.lang.Object
    Stardog executor service to provide the functionality of a ScheduledExecutorService without the cost of creating a new executor service every time the executor is needed.
    Since:
    0.3
    Version:
    3.0
    Author:
    Evren Sirin, Michael Grove
    • Constructor Summary

      Constructors 
      Constructor Description
      SharedExecutor()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.common.util.concurrent.ListeningExecutorService get()  
      static void shutdown()
      Shuts down this executor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SharedExecutor

        public SharedExecutor()
    • Method Detail

      • shutdown

        public static void shutdown()
        Shuts down this executor
      • get

        public static com.google.common.util.concurrent.ListeningExecutorService get()