Example usage for Java org.springframework.integration.jdbc.lock DefaultLockRepository fields, constructors, methods, implement or subclass
The text is from its open source code.
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 . |
void | afterPropertiesSet() |
void | setPrefix(String prefix) Specify the prefix for target data base table used from queries. |
void | setTimeToLive(int timeToLive) Specify the time (in milliseconds) to expire dead locks. |