@Override public DistributionManager getDistributionManager() { return getSystem().getDistributionManager(); }
/** * Returns an array of all the groups of this cache server. This includes those from the groups * gemfire property and those explicitly added to this server. */ public String[] getCombinedGroups() { ArrayList<String> groupList = new ArrayList<String>(); if (!this.isGatewayReceiver) { for (String g : MemberAttributes.parseGroups(null, getSystem().getConfig().getGroups())) { if (!groupList.contains(g)) { groupList.add(g); } } } for (String g : getGroups()) { if (!groupList.contains(g)) { groupList.add(g); } } String[] groups = new String[groupList.size()]; return groupList.toArray(groups); }
r.put("stopped", ++numTimesStopped); for (CacheServer s : servers) { if (((CacheServerImpl) s).getSystem().getDistributedMember() .equals(((GemFireCacheImpl) CacheFactory.getAnyInstance()).getMyId())) { s.stop(); if (((CacheServerImpl) s).getSystem().getDistributedMember() .equals(((GemFireCacheImpl) CacheFactory.getAnyInstance()).getMyId())) { s.stop();
r.put("stopped", ++numTimesStopped); for (CacheServer s : servers) { if (((CacheServerImpl) s).getSystem().getDistributedMember() .equals(((GemFireCacheImpl) CacheFactory.getAnyInstance()).getMyId())) { s.stop(); if (((CacheServerImpl) s).getSystem().getDistributedMember() .equals(((GemFireCacheImpl) CacheFactory.getAnyInstance()).getMyId())) { s.stop();