Last active
February 24, 2016 14:27
-
-
Save wakim/2145282cb0297dd8f7d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MyTask implements Runnable { | |
| @Override | |
| public void run() { | |
| String content = readSomeContentOfNetwork(); | |
| String processedContent = processContent(content); | |
| saveProcessedContentOnDatabase(processedContent); | |
| } | |
| } | |
| new Thread(new MyTask()).start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment