Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ode.bpel.engine
Interface DehydrationPolicy

All Known Implementing Classes:
  CountLRUDehydrationPolicy

    public interface DehydrationPolicy

Defines a policy to dehydrate running processes based on a limit in total process count or processes that haven't been used for a while.

Method Summary
`java.util.List<ODEProcess>` | `markForDehydration(java.util.List<ODEProcess> runningProcesses)` Checks the currently running processes and marks some of them for dehydration according to a specifically configured policy.

Method Detail

### markForDehydration

    java.util.List<ODEProcess> markForDehydration(java.util.List<ODEProcess> runningProcesses)

  Checks the currently running processes and marks some of them for dehydration according to a specifically configured policy. The returned processes will be dehydrated by the engine.

  Parameters:
    `runningProcesses` - all running (currently hydrated) processes
  Returns:
    processes elected for dehydration

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD