|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseLocker
Represents some kind of lock service to ensure that a broker is the only master
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.apache.activemq.Service |
|---|
start, stop |
| Method Detail |
|---|
void setPersistenceAdapter(JDBCPersistenceAdapter adapter)
throws java.io.IOException
adapter - the persistence adapter to use
java.io.IOExceptionboolean keepAlive()
void 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 | |||||||||