1 21 package com.db4o; 22 23 import com.db4o.foundation.*; 24 25 class ShutDownRunnable extends Collection4 implements Runnable { 26 28 public volatile boolean dontRemove = false; 29 30 public void run(){ 31 dontRemove = true; 32 Collection4 copy=new Collection4(this); 33 Iterator4 i = copy.iterator(); 34 while(i.moveNext()){ 35 ((YapStream)i.current()).failedToShutDown(); 36 } 37 } 38 39 } 40 41 | Popular Tags |