Java org.springframework.integration.jdbc.lock DefaultLockRepository fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.jdbc.lock DefaultLockRepository fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.jdbc.lock DefaultLockRepository.

The text is from its open source code.

Constructor

DefaultLockRepository(DataSource dataSource, String id)
Constructor that allows the user to specify a client id that will be associated for all the locks persisted by the store instance.
DefaultLockRepository(DataSource dataSource)
Constructor that initializes the client id that will be associated for all the locks persisted by the store instance to a random UUID .

Method

voidafterPropertiesSet()
voidsetPrefix(String prefix)
Specify the prefix for target data base table used from queries.
voidsetTimeToLive(int timeToLive)
Specify the time (in milliseconds) to expire dead locks.