setPersistentDeadlockPriority

setPersistentDeadlockPriority(priority: Integer);

The setPersistentDeadlockPriority method of the Process class sets the priority value to be used when dealing with deadlocks involving persistent objects. Negative and positive values are allowed.

The default deadlock priority is zero (0).

In a deadlock situation, the process with the lower value is given the deadlock exception. This method can be called only on the process instance of the current process. If you call it on an instance for another process, an exception is raised.

See also the DoubleDeadlockException parameter in the [JadeServer] section of the JADE initialization file, in your JADE Initialization File Reference.