getLockInstance(final int, final int, final long) method

Utilises getLock to to acquire a lock, but instead of returning the batch runs ID, it returns the batchrun instance.

Syntax

BatchRun getLockInstance ( final int batchType , final int maxAgeInSeconds , final long callerId ) throws LockingException

Parameters

Exceptions