谁有好的重新静态化的方法?

06-09-05 wuxiao1023

主要是时间的判断,1分钟静态化一次 3分钟静态化一次的!我想借鉴下!谢谢!

totempole
2006-09-12 03:42

Try java.util.Timer, java.util.TimerTask, unless the app is runing in a managed environment, you may invoke the EJB2.1 Timer service, or Scheduling services offered by Spring.