From: David ‘Bombe’ Roden Date: Sat, 24 May 2008 21:05:09 +0000 (+0200) Subject: expose thread pool X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2c8c3b5fc87f68be2f295d62d87df3e009ffd2fd;p=jSite2.git expose thread pool --- diff --git a/src/net/pterodactylus/jsite/gui/SwingInterface.java b/src/net/pterodactylus/jsite/gui/SwingInterface.java index d77920b..c79c37d 100644 --- a/src/net/pterodactylus/jsite/gui/SwingInterface.java +++ b/src/net/pterodactylus/jsite/gui/SwingInterface.java @@ -348,6 +348,15 @@ public class SwingInterface implements CoreListener, LoggingListener, PropertyCh return nodeList; } + /** + * Returns the thread pool used for off-thread processes. + * + * @return The thread pool + */ + Executor getThreadPool() { + return threadPool; + } + // // ACTIONS //