photo credit: Juan Antonio Capó ExecutorServiceã使ãã¨ç°¡åã«ãã«ãã¹ã¬ããå¦çãè¡ãã¾ããã çµäºãshutdownã¡ã½ãããå¼ã¶ã ãã¨æã£ã¦ãã¾ãããï¼ shutdownã¡ã½ããã ãã ã¨ä¸ååã§ãã å¦æ ¡ã®å çã¨çå¾ã®é¢ä¿ã§èª¬æãã¾ãã shutdownã¡ã½ããã¯æ示ããã ã å¦æ ¡ã§å çãçå¾ã«å¯¾ãã¦ããåé¡ã解ãããæãã¦ãã¼ãã¨è¨ãã¾ãã çå¾ã¯åé¡ã解ãã人ãããå çã§ããã¼ï¼ï¼ãã¨è¨ã£ã¦ãã¾ãã å ¨å¡åé¡ã解ãã段éã§ææ¥ãçµããã¨ãã¾ãããã 対å¿ã¯ããã å ç: ExecutorService çå¾: ExecutorServiceå ã®ã¹ã¬ãã åé¡: ExecutorService.executeã«æ¸¡ãã¿ã¹ã¯(Runnable) ææ¥: mainã¹ã¬ãã å¦æ ¡: Javaããã»ã¹ ãåé¡ã解ãããæãã¦ãã¼ã
ç¾å¨ãªã©ã¯ã«ï¼Oracleï¼ãä¿æããJavaæè¡é¢é£ã®ç¥ç財ç£ã«ã¤ãã¦ãå社ã¨ã°ã¼ã°ã«ï¼Googleï¼ã¨ãäºã£ã¦ããè£å¤ã§ã2ã¤ã®äºç¹ã®ãã¡ã«ã²ã¨ã¤ã§ããç¹è¨±æ¨©ã®ä¾µå®³ã«é¢ãã審çãç±³å½æé23æ¥ã«çµäºããã°ã¼ã°ã«ã«ããç¹è¨±æ¨©ã®ä¾µå®³ã¯èªããããªãã¨ããå¤æ±ºãä¸ãããã 両社éã®ãã®è£å¤ã§ã¯ãå ããè¡ãããèä½æ¨©ããããååã®å¯©çã§ããªã©ã¯ã«ãæ示ãã4件ã®ã±ã¼ã¹ã®ãã¡1件ã«ã¤ãã¦ã¯ã°ã¼ã°ã«ã«ããèä½æ¨©ã®ä¾µå®³ãéªå¯©å¡ã«ãã£ã¦èªãããããã®ã®ãæ®ãã®3件ã«ã¤ãã¦ã¯ãªã©ã¯ã«ã®ä¸»å¼µãéãããã¦ãããã°ã¼ã°ã«ã«ããèä½æ¨©ä¾µå®³ãèªããããã®ã¯ãAndroid OSã§ä½¿ç¨ããã¦ããAPIã³ã¼ã9è¡ã®ã¿ã§ãããã¨ãããè³ åéé¡ã¯15ä¸ãã«ãã20ä¸ãã«ä»¥ä¸ã¨ã¿ããããªã©ã¯ã«ã«ã¨ã£ã¦ã¯ãããããè£å¤ã«ããã£ãè²»ç¨ãããå°ãªããªãã ãããã¨AllThingsDã¯æ¨å®ãã¦ãããã¾ãBloombergã§ã¯ãæ³å¾ã§
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}