@Test(expectedExceptions={java.lang.ArithmeticException.class}) public void testGetNextSelected() throws Exception { int lastSelected = -1; lastSelected = (lastSelected + 1) % 0; assertTrue(false); }
private int getNextSelected() { return lastSelected = (lastSelected + 1) % serverSelectionList.length; }
ClusterStateService extends GeneralTaskRunnable { private int getNextSelected() { return lastSelected = (lastSelected + 1) % serverSelectionList.length; } }
ClusterStateService extends GeneralTaskRunnable { private int getNextSelected() { return lastSelected = (lastSelected + 1) % serverSelectionList.length; } protected  ClusterStateService(SessionService sessionService, String localServerId,
                                  int timeout, long period, Map<String, String> members); }
ClusterStateService extends GeneralTaskRunnable { private int getNextSelected() { return lastSelected = (lastSelected + 1) % serverSelectionList.length; } protected  ClusterStateService(SessionService sessionService, String localServerId,
                                  int timeout, long period, Map<String, String> members); long getRunPeriod(); boolean addElement(Object obj); boolean removeElement(Object obj); boolean isEmpty(); void run(); @Override String toString(); }
ClusterStateService extends GeneralTaskRunnable { private int getNextSelected() { return lastSelected = (lastSelected + 1) % serverSelectionList.length; } protected  ClusterStateService(SessionService sessionService, String localServerId,
                                  int timeout, long period, Map<String, String> members); long getRunPeriod(); boolean addElement(Object obj); boolean removeElement(Object obj); boolean isEmpty(); void run(); @Override String toString(); static Debug sessionDebug; static final int DEFAULT_TIMEOUT; static final long DEFAULT_PERIOD; }