Package com.sun.sgs.impl.service.nodemap.affinity

Examples of com.sun.sgs.impl.service.nodemap.affinity.RelocatingAffinityGroup


        // Create our final return values
        NavigableSet<RelocatingAffinityGroup> retVal =
                new TreeSet<RelocatingAffinityGroup>();
        for (Map.Entry<Long, Map<Identity, Long>> e : groupMap.entrySet()) {
            retVal.add(new RelocatingAffinityGroup(e.getKey(),
                                                   e.getValue(),
                                                   runNum));
        }

        return retVal;
View Full Code Here


        for (AffinityGroup ag : groups) {
            Map<Identity, Long> idMap = new HashMap<Identity, Long>();
            for (Identity id : ag.getIdentities()) {
                idMap.put(id, -1L);
            }
            retVal.add(new RelocatingAffinityGroup(ag.getId(), idMap, gen));
        }
        return retVal;
    }
View Full Code Here

                    logger.log(Level.INFO,
                               "Unknown node assignment for identity {0}", id);
                    idMap.put(id, Long.valueOf(-1));
                }
            }
            retVal.add(new RelocatingAffinityGroup(ag.getId(), idMap, gen));
        }
        return retVal;
    }
View Full Code Here

TOP

Related Classes of com.sun.sgs.impl.service.nodemap.affinity.RelocatingAffinityGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.