Sha256: f5c723bb5314d127f656b40de17ceacf34919c1e4d7964cd841fb03b1a639874
Contents?: true
Size: 291 Bytes
Versions: 2
Compression:
Stored size: 291 Bytes
Contents
class JFuture < ::BasicObject class DaemonThreadFactory include Java::JavaUtilConcurrent::ThreadFactory def newThread(runnable) thread = Java::JavaUtilConcurrent::Executors.defaultThreadFactory().newThread(runnable) thread.setDaemon(true) thread end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
j_future-0.0.2-java | lib/j_future/daemon_thread_factory.rb |
j_future-0.0.1-java | lib/j_future/daemon_thread_factory.rb |