【源码简介】多个文件开启固定线程等待下载--java实现
多个文件开启固定线程等待下载,实现指定线程数的情况,其他线程等待下载
文件清单
└── ThreadDemo
├── bin
│ └── com
│ └── wicky
│ ├── download
│ │ ├── CustomThreadPool$StartPoolListener.class
│ │ ├── CustomThreadPool.class
│ │ ├── DownloadThread$Download.class
│ │ └── DownloadThread.class
│ └── MainTest.class
└── src
└── com
└── wicky
├── download
│ ├── CustomThreadPool.java
│ └── DownloadThread.java
└── MainTest.java
9 directories, 8 files
多个文件开启固定线程等待下载,实现指定线程数的情况,其他线程等待下载
【源码截图】
文件清单
└── ThreadDemo
├── bin
│ └── com
│ └── wicky
│ ├── download
│ │ ├── CustomThreadPool$StartPoolListener.class
│ │ ├── CustomThreadPool.class
│ │ ├── DownloadThread$Download.class
│ │ └── DownloadThread.class
│ └── MainTest.class
└── src
└── com
└── wicky
├── download
│ ├── CustomThreadPool.java
│ └── DownloadThread.java
└── MainTest.java
9 directories, 8 files




