â [éçº]Java5.0æ°æ©è½ã®ãåå¼·ï¼ï¼ï¼ è¤æ°éåæå¦çã®æ°ããå®è¡æ¹æ³ï¼Executorï¼ãç¶ãã ã¹ã±ã¸ã¥ã¼ã«å¯è½ãªExecutorã¨ãã¦ãScheduledExecutorServiceãããã Executors#newScheduledThreadPoolãExecutors#newSingleThreadScheduledExecutorã§çæã§ããã ï¼ã¤ã®éãã¯ååã®éããã·ã³ã°ã«ã¹ã¬ããã§å®è¡ãããã©ããã newScheduledThreadPoolã®æ¹ã§ãµã³ãã«ãæ¸ãã¦ã¿ãã ScheduledExecutorServiceã§ã¿ã¹ã¯ãç¹°ãè¿ãå®è¡ããã«ã¯äºéãã®æ¹æ³ãããã scheduleAtFixedRateï¼ã¿ã¹ã¯ãæå®ããééã§å®è¡ããã scheduleWithFixedDelayï¼ã¿ã¹ã¯ã®ååçµäºæããæå®æéçµéå¾ã«æ¬¡ã®ã¿ã¹ã¯ãå®è¡ããã Javas
{{#tags}}- {{label}}
{{/tags}}