org.apache.activemq.store.jdbc
Interface DatabaseLocker

All Superinterfaces:
Service
All Known Implementing Classes:
DefaultDatabaseLocker

public interface DatabaseLocker
extends Service

Represents some kind of lock service to ensure that a broker is the only master

Version:
$Revision: $

Method Summary
 boolean keepAlive()
          Used by a timer to keep alive the lock.
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Method Detail

keepAlive

boolean keepAlive()
Used by a timer to keep alive the lock. If the method returns false the broker should be terminated



Copyright © 2008. All Rights Reserved.