public class LiquibaseDBLockProviderFactory extends Object implements DBLockProviderFactory
| Constructor and Description |
|---|
LiquibaseDBLockProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
LiquibaseDBLockProvider |
create(KeycloakSession session) |
String |
getId() |
protected long |
getLockWaitTimeoutMillis() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
void |
setTimeouts(long lockRecheckTimeMillis,
long lockWaitTimeoutMillis)
Useful for testing to override provided configuration
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderprotected long getLockWaitTimeoutMillis()
public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<DBLockProvider>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<DBLockProvider>public LiquibaseDBLockProvider create(KeycloakSession session)
create in interface ProviderFactory<DBLockProvider>public void setTimeouts(long lockRecheckTimeMillis,
long lockWaitTimeoutMillis)
DBLockProviderFactorysetTimeouts in interface DBLockProviderFactorypublic void close()
ProviderFactoryclose in interface ProviderFactory<DBLockProvider>public String getId()
getId in interface ProviderFactory<DBLockProvider>Copyright © 2021 JBoss by Red Hat. All rights reserved.