projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
expose thread pool
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
gui
/
SwingInterface.java
diff --git
a/src/net/pterodactylus/jsite/gui/SwingInterface.java
b/src/net/pterodactylus/jsite/gui/SwingInterface.java
index
d77920b
..
c79c37d
100644
(file)
--- 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
//