code: public void createScheduler (final String schedulerName,
                                 final String schedulerInstanceId,
                                 final IThreadPool threadPool,
                                 final IJobStore jobStore) throws SchedulerException
    {
      createScheduler (schedulerName, schedulerInstanceId, threadPool, jobStore, -1);
    }
docs: Same as
  {@link DirectSchedulerFactory#createScheduler(IThreadPool threadPool, IJobStore jobStore)},
  with the addition of specifying the scheduler name and instance ID. This
  scheduler can only be retrieved via
  {@link DirectSchedulerFactory#getScheduler(String)}
  
  @param schedulerName
  The name for the scheduler.
  @param schedulerInstanceId
  The instance ID for the scheduler.
  @param threadPool
  The thread pool for executing jobs
  @param jobStore
  The type of job store
  @throws SchedulerException
  if initialization failed