Record allocation information and track car poolinginformation.
记录分配信息和跟踪汽车共乘信息。
2
Other applications for ThreadLocal in which pooling would not be a useful alternative include storing or accumulating per-thread context information for later retrieval.
There is much to remember when designing and developing code for scalability. Three things of particular importance are: Caching, pooling, and information pre-fetch.