Package com.complexible.common.util.concurrent

# Class SharedExecutor

java.lang.Object
com.complexible.common.util.concurrent.SharedExecutor

public final class SharedExecutor extends 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

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static final class`
  `SharedExecutor.CallerRunsPolicy`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SharedExecutor()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ExecutorService`
  `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 Details

  - ### SharedExecutor

    public SharedExecutor()

- ## Method Details

  - ### shutdown

    public static void shutdown()
    Shuts down this executor

  - ### get

    public static ExecutorService get()