public NodeCheckResourceAllocationScheduler(){
  _log.info("Initializing node balance check scheduler");
  ScheduledExecutorService service=new NamedScheduledThreadPoolExecutor("NodeResourceAllocationScheduler",1);
  service.schedule(this,SERVICE_START_LAG,TimeUnit.SECONDS);
}

public NodeCheckResourceAllocationScheduler ( ) { _log . info ( "Initializing node balance check scheduler" ) ; ScheduledExecutorService service = new NamedScheduledThreadPoolExecutor ( "NodeResourceAllocationScheduler" , 1 ) ; service . schedule ( this , SERVICE_START_LAG , TimeUnit . SECONDS ) ; }
sets up the scheduler .
