Class PersistedJobsManager

java.lang.Object
org.jppf.job.persistence.PersistedJobsManager
All Implemented Interfaces:
org.jppf.job.persistence.PersistedJobsManagerMBean

public class PersistedJobsManager extends Object implements org.jppf.job.persistence.PersistedJobsManagerMBean
Implementation of the PersistedJobsManagerMBean interface.
Author:
Laurent Cohen
  • Constructor Details

    • PersistedJobsManager

      public PersistedJobsManager(JPPFDriver driver)
      Initialize this MBean.
      Parameters:
      driver - the JPPF driver that holds this manager.
  • Method Details

    • getPersistedJobUuids

      public List<String> getPersistedJobUuids(org.jppf.job.JobSelector selector) throws Exception
      Specified by:
      getPersistedJobUuids in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • getPersistedJobObject

      public Object getPersistedJobObject(String uuid, org.jppf.job.persistence.PersistenceObjectType type, int position) throws Exception
      Specified by:
      getPersistedJobObject in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • getPersistedJobPositions

      public int[][] getPersistedJobPositions(String uuid) throws Exception
      Specified by:
      getPersistedJobPositions in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • deletePersistedJobs

      public List<String> deletePersistedJobs(org.jppf.job.JobSelector selector) throws Exception
      Specified by:
      deletePersistedJobs in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • isJobersisted

      public boolean isJobersisted(String uuid) throws Exception
      Specified by:
      isJobersisted in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • isJobComplete

      public boolean isJobComplete(String uuid) throws Exception
      Specified by:
      isJobComplete in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • requestLoad

      public long requestLoad(Collection<org.jppf.job.persistence.PersistenceInfo> infos) throws Exception
      Specified by:
      requestLoad in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • getPersistedJobObject

      public Object getPersistedJobObject(long requestId, String uuid, org.jppf.job.persistence.PersistenceObjectType type, int position) throws Exception
      Specified by:
      getPersistedJobObject in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception
    • deleteLoadRequest

      public boolean deleteLoadRequest(long requestId) throws Exception
      Specified by:
      deleteLoadRequest in interface org.jppf.job.persistence.PersistedJobsManagerMBean
      Throws:
      Exception