@Override
    public void run() {
        try{
      if(Thread.currentThread().getName().equals("conexion"))Thread.sleep(8000);
      if(Thread.currentThread().getName().equals("impresion"))Thread.sleep(6000);
      if(Thread.currentThread().getName().equals("guardar"))Thread.sleep(10000);
    //ejecutarse.
        System.out.println(Thread.currentThread().getName());
        System.out.println("Soy medio Tred");
    }catch(Exception e){} 
  }