Such memory variable how to do?

Category: Java SE
2009-06-20 03:39:56

Sponsored Links
I have some data is often called
but sometimes people call
twenty-three that I wanted to make this package a package
regularly removed from the database and stored in the data memory
The program should be read directly from the memory

such a program is not feasible?
because twenty-three people I frequently read database
database access speed will be greatly reduced
wanted this trick

Sponsored Links

2009-06-20 03:45:16
If the query The data are the same, it is possible.

big deal to write dead, to be a single-state class, check out beforehand the data already stored.
2009-06-20 03:54:36
write a class that, when put in the initialization data read out in a collection.
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.