现在,一个carp接口可以包含多达32个虚拟主机实例。
One carp interface can now contain up to 32 virtual host instances.
代理主机实例化一个代理对象,该对象是从该JAR文件获得的。
The surrogate host instantiates a surrogate object, which is obtained from the JAR file.
而且,一旦找到缓存的主机实例,随后的查找都可以从缓存中获取,这种缓存访问受到同步块的保护。
Also, each Home instance is cached once found, so that subsequent lookups will obtain it from the cache, and this cache access is protected with a synchronized block.
应用推荐