Locker
instead@Deprecated public interface DatabaseLocker extends org.apache.activemq.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 useIOException
boolean keepAlive() throws IOException
IOException
void setLockAcquireSleepInterval(long lockAcquireSleepInterval)
lockAcquireSleepInterval
- the sleep interval in milisecondsCopyright © 2005–2019 FuseSource, Corp.. All rights reserved.