Introduction - If you have any usage issues, please Google them yourself
The multithreading problem of producer consumers written with Java.
Every 100ms, the producer takes the data out of the array and puts it in a shared database, and the consumer takes it out.