https://github.com/davidraviv/threadpool
https://github.com/davidraviv/threadpool
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidraviv/threadpool
- Owner: davidraviv
- Created: 2015-08-08T12:57:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-08T21:15:32.000Z (almost 10 years ago)
- Last Synced: 2025-01-19T03:45:41.450Z (4 months ago)
- Language: Java
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vessel Name Reader
## Basic implementation of thread pool in java
VesselService.getNames(String mmsi) receives mmsi of a vessel and return all vessels that has this mmsi (Note, mmsi isn't unique - multiple vessels can be returned by the same mmsi).
For each API call, all data files located in /resources are scanned.
### Usage:
Compile and run:
```
javac *.java
java Test
```Results:
```
Found the following names for mmsi 456:
vesselE
vesselBFound the following names for mmsi 140:
vesselGFound the following names for mmsi 999:
```