kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | c0c391746aac8f7d08c3795026f8dc386efe11fe422851e88c4dcef7c058dea4 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2015-03-30 16:56 +02:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-03-30 16:56 +02:00 |
| Parents | 7b0de0a8ba8d |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/Cluster.java +4 −4
| @@ -1140,10 +1140,10 @@ | ||
| 1140 | 1140 | this.configuration = configuration; |
| 1141 | 1141 | this.configuration.register(this); |
| 1142 | 1142 | |
| 1143 | - this.executor = makeExecutor(NON_BLOCKING_EXECUTOR_SIZE, "Cassandra Java Driver worker-%d", executorQueue); | |
| 1144 | - this.blockingExecutor = makeExecutor(2, "Cassandra Java Driver blocking tasks worker-%d", blockingExecutorQueue); | |
| 1145 | - this.reconnectionExecutor = new ScheduledThreadPoolExecutor(2, threadFactory("Reconnection-%d")); | |
| 1146 | - this.scheduledTasksExecutor = new ScheduledThreadPoolExecutor(1, threadFactory("Scheduled Tasks-%d")); | |
| 1143 | + this.executor = makeExecutor(NON_BLOCKING_EXECUTOR_SIZE, "worker", executorQueue); | |
| 1144 | + this.blockingExecutor = makeExecutor(2, "blocking-task-worker", blockingExecutorQueue); | |
| 1145 | + this.reconnectionExecutor = new ScheduledThreadPoolExecutor(2, threadFactory("reconnection")); | |
| 1146 | + this.scheduledTasksExecutor = new ScheduledThreadPoolExecutor(1, threadFactory("scheduled-task-worker")); | |
| 1147 | 1147 | |
| 1148 | 1148 | this.reaper = new ConnectionReaper(this); |
| 1149 | 1149 |