code: @Override
    public void init(PlayerConfig config) throws InitializationFailedException {
      super.init(config);
      validate(config);
      timeToWork = Long.valueOf(config.get(TIME_TO_WORK_KEY)) * 1000;
      minActionDelay = Long.valueOf(config.get(MIN_ACTION_DELAY_KEY));
      maxActionDelay = Long.valueOf(config.get(MAX_ACTION_DELAY_KEY));
      threadsNum = Integer.valueOf(config.get(SOURCES_THREADS_COUNT_KEY));
      sourcesPerThread = Integer.valueOf(config.get(SOURCES_PER_THREAD_COUNT_KEY));
    }
docs: (non-Javadoc)
  
  @see com.sematext.ag.Player#init(com.sematext.ag.PlayerConfig)