@Override public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) { Set<SimpSubscription> result = new HashSet<>(); for (UserRegistrySnapshot registry : this.remoteRegistries.values()) { result.addAll(registry.findSubscriptions(matcher)); } result.addAll(this.localRegistry.findSubscriptions(matcher)); return result; }
@Override public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) { Set<SimpSubscription> result = new HashSet<>(); for (UserRegistrySnapshot registry : this.remoteRegistries.values()) { result.addAll(registry.findSubscriptions(matcher)); } result.addAll(this.localRegistry.findSubscriptions(matcher)); return result; }
@Override public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) { Set<SimpSubscription> result = new HashSet<>(); for (UserRegistrySnapshot registry : this.remoteRegistries.values()) { result.addAll(registry.findSubscriptions(matcher)); } result.addAll(this.localRegistry.findSubscriptions(matcher)); return result; }
@Override public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) { Set<SimpSubscription> result = new HashSet<>(); for (UserRegistrySnapshot registry : this.remoteRegistries.values()) { result.addAll(registry.findSubscriptions(matcher)); } result.addAll(this.localRegistry.findSubscriptions(matcher)); return result; }