1 31 package org.objectweb.proactive.core.group; 32 33 import java.util.ListIterator ; 34 35 36 44 public interface Group extends java.util.Collection { 45 46 49 public Class getType() throws java.lang.ClassNotFoundException ; 50 51 54 public String getTypeName(); 55 56 59 public Object getGroupByType(); 60 61 64 public Object get(int index); 65 66 69 public void addMerge(Object ogroup); 70 71 74 public void remove(int index); 75 76 79 public int indexOf(Object obj); 80 81 84 public ListIterator listIterator(); 85 86 89 public void waitAll(); 90 91 94 public void waitOne(); 95 96 100 public void waitTheNth(int n); 101 102 106 public void waitN(int n); 107 108 112 public Object waitAndGetOne(); 113 114 119 public Object waitAndGetTheNth(int n); 120 121 125 public int waitOneAndGetIndex(); 126 127 131 public boolean allAwaited(); 132 133 137 public boolean allArrived(); 138 139 144 public ExceptionList getExceptionList(); 145 146 152 public void purgeExceptionAndNull(); 153 154 158 public void setRatioNemberToThread(int i); 159 160 165 public Group union(Group g); 166 167 172 public Group intersection(Group g); 173 174 179 public Group difference(Group g); 180 181 186 public Group exclude(Group g); 187 188 194 public Group range(int begin, int end); 195 196 199 public void barrier (); 200 } 201 | Popular Tags |