Package org.jbpm.persistence

## Interface ProcessStorage

- All Superinterfaces:
    `org.drools.persistence.map.KnowledgeSessionStorage`

      public interface ProcessStorage
      extends org.drools.persistence.map.KnowledgeSessionStorage

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `org.jbpm.persistence.api.PersistentProcessInstance` | `findProcessInstanceInfo​(Long processInstanceId)` |
    `long` | `getNextProcessInstanceId()` |
    `List<Long>` | `getProcessInstancesWaitingForEvent​(String type)` |
    `void` | `removeProcessInstanceInfo​(Long id)` |
    `void` | `saveOrUpdate​(org.jbpm.persistence.api.PersistentProcessInstance processInstanceInfo)` |

    - ### Methods inherited from interface org.drools.persistence.map.KnowledgeSessionStorage

      `findSessionInfo, findWorkItemInfo, getNextStatefulKnowledgeSessionId, getNextWorkItemId, lock, lock, remove, saveOrUpdate, saveOrUpdate`

- - ### Method Detail

    - #### findProcessInstanceInfo

          org.jbpm.persistence.api.PersistentProcessInstance findProcessInstanceInfo​(Long processInstanceId)

    - #### saveOrUpdate

          void saveOrUpdate​(org.jbpm.persistence.api.PersistentProcessInstance processInstanceInfo)

    - #### getNextProcessInstanceId

          long getNextProcessInstanceId()

    - #### removeProcessInstanceInfo

          void removeProcessInstanceInfo​(Long id)

    - #### getProcessInstancesWaitingForEvent

          List<Long> getProcessInstancesWaitingForEvent​(String type)