{"id":304,"date":"2015-05-28T08:24:57","date_gmt":"2015-05-28T07:24:57","guid":{"rendered":"http:\/\/localhost:8080\/php\/blog\/?p=304"},"modified":"2015-05-28T08:24:57","modified_gmt":"2015-05-28T07:24:57","slug":"do-not-block-the-edt","status":"publish","type":"post","link":"https:\/\/lukas.kurth.rocks\/blog\/2015\/05\/28\/do-not-block-the-edt\/","title":{"rendered":"DO NOT BLOCK THE EDT"},"content":{"rendered":"<p>Habe gerade noch einmal an einen Hinweis aus einem Forum gedacht:<\/p>\n<blockquote><p>Rule #1: Do not block the EDT<br \/>\nRule #2: DO NOT BLOCK THE EDT, which leads directly to<br \/>\nRule #3: Do not sleep()in the EDT, and<br \/>\nRule #4: Do not perform any lengthy-operation in the EDT<\/p><\/blockquote>\n<p style=\"text-align: justify;\">Ich finde das eigentlich ganz hilfreich. Durch mein Studium habe ich eigentlich nie vom EDT (Event Dispatcher Thread) erfahren. Vielleicht hilft einem das auch nur bei gr\u00f6\u00dferen Projekten und wird deshalb nie erw\u00e4hnt.<\/p>\n<p style=\"text-align: justify;\">Tipp: Ein Workaround mit Timer oder Executor sollte helfen \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Habe gerade noch einmal an einen Hinweis aus einem Forum gedacht: Rule #1: Do not block the EDT Rule #2: DO NOT BLOCK THE EDT, which leads directly to Rule #3: Do not sleep()in the EDT, and Rule #4: Do not perform any lengthy-operation in the EDT Ich finde das eigentlich ganz hilfreich. Durch mein [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[17,9],"tags":[43,66,70,144,205],"class_list":["post-304","post","type-post","status-publish","format-aside","hentry","category-java","category-programmierung","tag-block","tag-do","tag-edt","tag-not","tag-the","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/posts\/304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/comments?post=304"}],"version-history":[{"count":0,"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"wp:attachment":[{"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lukas.kurth.rocks\/blog\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}