Writing D:/inetpub/webs/vincenzodevivocom/wiki/data/cache/f/fd5a8819d658fc8299155d494aff241c.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing D:/inetpub/webs/vincenzodevivocom/wiki/data/cache/f/fd5a8819d658fc8299155d494aff241c.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing D:/inetpub/webs/vincenzodevivocom/wiki/data/cache/f/fd5a8819d658fc8299155d494aff241c.xhtml failed

Invocare un processo asincrono in Java

Asynchronous processing in Java

Classe Runnable:

    public class MyThread implements Runnable {
        private String myPath;
 
        public MyThread (String myPath) {
            this.myPath= myPath;
        }
 
        public void run() {
            try {
               ...
            } catch (Exception ex) {
               ...
            }
        }
    }

Thread Start:

    Runnable run = new MyThread("C:\\");
    new Thread(run).start();
 
code/java/invocare_un_processo_asincrono.txt · Last modified: 2011/06/13 20:54 by Vincenzo De Vivo
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki