Toggle navigation
Home
java.util.concurrent.ExecutorService to java.util.concurrent.ScheduledExecutorService
No. of Instances - 2
No. of Commits - 1
No. of Projects - {'graylog2-server'}
Hierarchy/Composition: T_SUPER_R
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Rename Variable
asyncExecutor
to
timeoutExecutor
asyncExecutor
to
timeoutExecutor
heartbeatExecutor
to
metadataScheduler
Add or Remove Method invocation
Executors.newFixedThreadPool((nThreads >= 4) ? nThreads : 4)
to
Executors.newScheduledThreadPool((nThreads >= 4) ? nThreads : 4)
Executors.newSingleThreadExecutor()
to
Executors.newSingleThreadScheduledExecutor()
Executors.newSingleThreadExecutor()
to
Executors.newSingleThreadScheduledExecutor()
Executors.newFixedThreadPool(THREAD_POOL_SIZE,threadFactory)
to
Executors.newScheduledThreadPool(THREAD_POOL_SIZE,threadFactory)
Executors.newFixedThreadPool(numberProcessors,new NamedThreadFactory("mesos-jobmanager-future-","-thread-"))
to
Executors.newScheduledThreadPool(numberProcessors,new NamedThreadFactory("mesos-jobmanager-future-","-thread-"))
Cascading Type Change (Different)
InstrumentedExecutorService
to
InstrumentedScheduledExecutorService