org.apache.ode.bpel.dao
Interface DeferredProcessInstanceCleanable

All Known Implementing Classes:
ProcessDaoImpl

public interface DeferredProcessInstanceCleanable

Instances and associated data for a ProcessDAO implementation that implements this interface can be deleted in a deferred fashion.


Method Summary
 int deleteInstances(int transactionSize)
          Deletes instances and data for this process, the number of rows gets deletes is limited by the transaction size.
 java.io.Serializable getId()
          Returns the database id.
 

Method Detail

getId

java.io.Serializable getId()
Returns the database id.

Returns:
database id

deleteInstances

int deleteInstances(int transactionSize)
Deletes instances and data for this process, the number of rows gets deletes is limited by the transaction size.

Parameters:
transactionSize - the number of rows to delete
Returns:
the number of rows actually deleted