/** * Obtains a proxy of the specified {@link NamedCache} available in the * {@link CoherenceCluster}. * * @param cacheName the name of the {@link NamedCache} * * @return a proxy to the {@link NamedCache} */ public NamedCache getCache(String cacheName) { Iterator<CoherenceClusterMember> members = iterator(); return members.hasNext() ? members.next().getCache(cacheName) : null; }
/** * Obtains a proxy of the specified {@link NamedCache} available in the * {@link CoherenceCluster}. * * @param cacheName the name of the {@link NamedCache} * * @return a proxy to the {@link NamedCache} */ public NamedCache getCache(String cacheName) { Iterator<CoherenceClusterMember> members = iterator(); return members.hasNext() ? members.next().getCache(cacheName) : null; }
/** * Obtains a proxy of the specified {@link NamedCache} available in the * {@link CoherenceCluster}. * * @param cacheName the name of the {@link NamedCache} * * @return a proxy to the {@link NamedCache} */ public NamedCache getCache(String cacheName) { Iterator<CoherenceClusterMember> members = iterator(); return members.hasNext() ? members.next().getCache(cacheName) : null; }