In the cached-handle model, the application obtains the connection once up-front and caches a reference to it in an instance field, as illustrated in Listing 2.

 
  • 在cached-handle模式中,应用程序在一开始是获得连接,然后在一个实例字段中缓存对它的引用,如清单2所示。
今日热词
目录 附录 查词历史