public void run(){
  try {
    while (!kill) {
      doQuery();
      Thread.sleep((int)(Math.random() * 3000d));
    }
  }
 catch (  Exception ex) {
    ex.printStackTrace();
  }
}

public void run ( ) { try { while ( ! kill ) { doQuery ( ) ; Thread . sleep ( ( int ) ( Math . random ( ) * 3000d ) ) ; } } catch ( Exception ex ) { ex . printStackTrace ( ) ; } }
opens a read - committed view of the triple store using the last commit point and issues a query for a list of all lubm full professors . does this every few seconds until killed .
