|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Locker instead
@Deprecated public interface DatabaseLocker
Represents some kind of lock service to ensure that a broker is the only master
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.apache.activemq.Service |
|---|
start, stop |
| Method Detail |
|---|
void setPersistenceAdapter(JDBCPersistenceAdapter adapter)
throws IOException
adapter - the persistence adapter to use
IOException
boolean keepAlive()
throws IOException
IOExceptionvoid setLockAcquireSleepInterval(long lockAcquireSleepInterval)
lockAcquireSleepInterval - the sleep interval in miliseconds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||