The existing ThreadPoolExecutor was misconfigured and caused the thread pool to recycle idle threads continuously. VisualVM showed that a thread got recycled about every 3 seconds, creating and destroying several hundred threads in about 15 minutes. Use ExecutorService.newFixedThreadPool instead, as recommended by the javadoc for ExecutorService. |
||
|---|---|---|
| .. | ||
| KinesisClientLease.java | ||
| KinesisClientLeaseManager.java | ||
| KinesisClientLeaseSerializer.java | ||
| Lease.java | ||
| LeaseCoordinator.java | ||
| LeaseManager.java | ||
| LeaseRenewer.java | ||
| LeaseSerializer.java | ||
| LeaseTaker.java | ||