Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » journal » [javadoc | source]
org.apache.activemq.store.journal
public class: JournalPersistenceAdapterFactory [javadoc | source]
java.lang.Object
   org.apache.activemq.store.jdbc.DataSourceSupport
      org.apache.activemq.store.journal.JournalPersistenceAdapterFactory

All Implemented Interfaces:
    PersistenceAdapterFactory

Direct Known Subclasses:
    PersistenceAdapterFactoryBean

Factory class that can create PersistenceAdapter objects.
Method from org.apache.activemq.store.journal.JournalPersistenceAdapterFactory Summary:
createJournal,   createPersistenceAdapter,   getAdapter,   getJdbcAdapter,   getJournal,   getJournalArchiveDirectory,   getJournalLogFileSize,   getJournalLogFiles,   getJournalThreadPriority,   getStatements,   getTaskRunnerFactory,   isCreateTablesOnStartup,   isUseDatabaseLock,   isUseDedicatedTaskRunner,   isUseJournal,   isUseQuickJournal,   setAdapter,   setCreateTablesOnStartup,   setJdbcAdapter,   setJournal,   setJournalArchiveDirectory,   setJournalLogFileSize,   setJournalLogFiles,   setJournalThreadPriority,   setStatements,   setTaskRunnerFactory,   setUseDatabaseLock,   setUseDedicatedTaskRunner,   setUseJournal,   setUseQuickJournal
Methods from org.apache.activemq.store.jdbc.DataSourceSupport:
createDataSource,   getDataDirectory,   getDataDirectoryFile,   getDataSource,   setDataDirectory,   setDataDirectoryFile,   setDataSource,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.store.journal.JournalPersistenceAdapterFactory Detail:
 protected  void createJournal() throws IOException 
 public PersistenceAdapter createPersistenceAdapter() throws IOException 
 public JDBCAdapter getAdapter() throws IOException 
 public JDBCPersistenceAdapter getJdbcAdapter() 
 public Journal getJournal() throws IOException 
 public File getJournalArchiveDirectory() 
 public int getJournalLogFileSize() 
 public int getJournalLogFiles() 
 public int getJournalThreadPriority() 
 public Statements getStatements() 
 public TaskRunnerFactory getTaskRunnerFactory() 
 public boolean isCreateTablesOnStartup() 
 public boolean isUseDatabaseLock() 
 public boolean isUseDedicatedTaskRunner() 
 public boolean isUseJournal() 
 public boolean isUseQuickJournal() 
 public  void setAdapter(JDBCAdapter adapter) 
 public  void setCreateTablesOnStartup(boolean createTablesOnStartup) 
    Sets whether or not tables are created on startup
 public  void setJdbcAdapter(JDBCPersistenceAdapter jdbcAdapter) 
 public  void setJournal(Journal journal) 
 public  void setJournalArchiveDirectory(File journalArchiveDirectory) 
 public  void setJournalLogFileSize(int journalLogFileSize) 
    Sets the size of the journal log files When set using Xbean, values of the form "20 Mb", "1024kb", and "1g" can be used
 public  void setJournalLogFiles(int journalLogFiles) 
    Sets the number of journal log files to use
 public  void setJournalThreadPriority(int journalThreadPriority) 
    Sets the thread priority of the journal thread
 public  void setStatements(Statements statements) 
 public  void setTaskRunnerFactory(TaskRunnerFactory taskRunnerFactory) 
 public  void setUseDatabaseLock(boolean useDatabaseLock) 
    Sets whether or not an exclusive database lock should be used to enable JDBC Master/Slave. Enabled by default.
 public  void setUseDedicatedTaskRunner(boolean useDedicatedTaskRunner) 
 public  void setUseJournal(boolean useJournal) 
    Enables or disables the use of the journal. The default is to use the journal
 public  void setUseQuickJournal(boolean useQuickJournal) 
    Enables or disables the use of quick journal, which keeps messages in the journal and just stores a reference to the messages in JDBC. Defaults to false so that messages actually reside long term in the JDBC database.