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