public TimeoutRunnable(Object sync,long timeout){
  this.sync=sync;
  this.timeout=timeout;
}

public TimeoutRunnable ( Object sync , long timeout ) { this . sync = sync ; this . timeout = timeout ; }
instantiates a new timeout runnable .
