Spool class is created with two methods spoolJobs and unSpoolJobs