Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » jdbc » adapter » [javadoc | source]
org.apache.activemq.store.jdbc.adapter
public class: TransactDatabaseLocker [javadoc | source]
java.lang.Object
   org.apache.activemq.store.jdbc.DefaultDatabaseLocker
      org.apache.activemq.store.jdbc.adapter.TransactDatabaseLocker

All Implemented Interfaces:
    DatabaseLocker

Represents an exclusive lock on a database to avoid multiple brokers running against the same logical database.
Fields inherited from org.apache.activemq.store.jdbc.DefaultDatabaseLocker:
DEFAULT_LOCK_ACQUIRE_SLEEP_INTERVAL,  dataSource,  statements,  lockAcquireSleepInterval,  connection,  stopping,  exceptionHandler
Constructor:
 public TransactDatabaseLocker() 
 public TransactDatabaseLocker(JDBCPersistenceAdapter persistenceAdapter) throws IOException 
Method from org.apache.activemq.store.jdbc.adapter.TransactDatabaseLocker Summary:
start
Methods from org.apache.activemq.store.jdbc.DefaultDatabaseLocker:
getExceptionHandler,   getLockAcquireSleepInterval,   keepAlive,   setExceptionHandler,   setLockAcquireSleepInterval,   setPersistenceAdapter,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.store.jdbc.adapter.TransactDatabaseLocker Detail:
 public  void start() throws Exception