public interface DatabaseLocker extends Service
Modifier and Type | Method and Description |
---|---|
boolean |
keepAlive()
Used by a timer to keep alive the lock.
|
void |
setLockAcquireSleepInterval(long lockAcquireSleepInterval)
set the delay interval in milliseconds between lock acquire attempts
|
void |
setPersistenceAdapter(JDBCPersistenceAdapter adapter)
allow the injection of a jdbc persistence adapter
|
void setPersistenceAdapter(JDBCPersistenceAdapter adapter) throws IOException
adapter
- the persistence adapter to useIOException
boolean keepAlive()
void setLockAcquireSleepInterval(long lockAcquireSleepInterval)
lockAcquireSleepInterval
- the sleep interval in milisecondsCopyright © 2005–2016. All rights reserved.