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

Examples of com.sun.sgs.impl.service.nodemap.NoNodesAvailableException


        throws NoNodesAvailableException
    {
        if (availableNodes.size() < 1) {
            // We don't have any live nodes to assign to.
            // Let the caller figure it out.
            throw new NoNodesAvailableException("no live nodes available");
       
       
        return availableNodes.get(
                nextNode.getAndIncrement() % availableNodes.size());
    }
View Full Code Here

TOP

Related Classes of com.sun.sgs.impl.service.nodemap.NoNodesAvailableException

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.