0
ScheduledExecutorService를 사용하고 있으며 scheduleFuture에서 cancel 메서드를 호출 한 후에 Runnable을 예약 할 수 없습니다. cancel()
뒤에 scheduleAtFixedRate(runnable, INITIAL_DELAY, INTERVAL, TimeUnit.SECONDS)
을 호출해도 아무런 변화가 없습니다. cancel()
메서드를 호출 한 후 ScheduledExecutorService
을 다시 시작할 수 있습니까?scheduleexecutorservice를 여러 번 시작하고 중지하는 방법
서비스를 시작하고 중지 한 다음 다시 시작하는 방법을 제안하십시오. – user1128158