public void initialize(){
  if (isClosed.get()) {
    logger.info("Initialing Parallel Client Resources: actor system, HttpClientStore, Task Manager ....");
    ActorConfig.createAndGetActorSystem();
    httpClientStore.init();
    tcpSshPingResourceStore.init();
    ParallelTaskManager.getInstance();
    isClosed.set(false);
    logger.info("Parallel Client Resources has been initialized.");
  }
 else {
    logger.debug("NO OP. Parallel Client Resources has already been initialized.");
  }
}

public void initialize ( ) { if ( isClosed . get ( ) ) { logger . info ( "Initialing Parallel Client Resources: actor system, HttpClientStore, Task Manager ...." ) ; ActorConfig . createAndGetActorSystem ( ) ; httpClientStore . init ( ) ; tcpSshPingResourceStore . init ( ) ; ParallelTaskManager . getInstance ( ) ; isClosed . set ( false ) ; logger . info ( "Parallel Client Resources has been initialized." ) ; } else { logger . debug ( "NO OP. Parallel Client Resources has already been initialized." ) ; } }
initialize . create the httpclientstore , tcpclientstore
