Toggle navigation
Home
java.util.concurrent.ScheduledExecutorService to io.atomix.utils.concurrent.ThreadContextFactory
No. of Instances - 9
No. of Commits - 2
No. of Projects - {'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
checkNotNull(threadPool)
to
threadContextFactory
checkNotNull(threadPool)
to
threadContextFactory
Executors.newScheduledThreadPool(threadPoolSize,namedThreads(baseThreadName + "-%d",log))
to
threadModel.factory(baseThreadName + "-%d",threadPoolSize,log)
Rename Variable
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPool
to
threadContextFactory
threadPoolExecutor
to
threadContextFactory
threadPoolExecutor
to
threadContextFactory
threadPoolExecutor
to
threadContextFactory
executor
to
threadContextFactory
Update Class Instacne Creation
new RaftProxyConnection(protocol,selectorManager.createSelector(CommunicationStrategy.ANY),new ThreadPoolContext(threadPoolExecutor),LoggerContext.builder(RaftClient.class).addValue(clientId).build())
to
new RaftProxyConnection(protocol,selectorManager.createSelector(CommunicationStrategy.ANY),threadContextFactory.createContext(),LoggerContext.builder(RaftClient.class).addValue(clientId).build())