Lines Matching defs:rmid
43 /** time safeDestroy should wait before failing on shutdown rmid */
107 * Simple method call to see if rmid is running.
133 // ignore connect exceptions until we decide rmid is not up
151 * test should not fail as rmid is likely to be in an
155 " start rmid, last exception was: " +
172 /** cleanup after rmid */
173 public static void rmidCleanup(RMID rmid) {
174 if (rmid != null) {
175 if (!ActivationLibrary.safeDestroy(rmid, SAFE_WAIT_TIME)) {
176 TestLibrary.bomb("rmid not destroyed in: " +
185 * Invoke shutdown on rmid in a way that will not cause a test
191 private static boolean safeDestroy(RMID rmid, long timeAllowed) {
192 DestroyThread destroyThread = new DestroyThread(rmid);
205 * Thread class to handle the destruction of rmid
208 private final RMID rmid;
212 DestroyThread(RMID rmid) {
213 this.rmid = rmid;
214 this.port = rmid.getPort();
220 rmid.destroy();
222 // flag that the test was able to shutdown rmid
225 mesg("finished destroying rmid");
227 mesg("tried to shutdown when rmid was not running");