Class JournalPersistenceAdapterFactory

    • Constructor Detail

      • JournalPersistenceAdapterFactory

        public JournalPersistenceAdapterFactory()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getJournalLogFiles

        public int getJournalLogFiles()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setJournalLogFiles

        public void setJournalLogFiles​(int journalLogFiles)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Sets the number of journal log files to use
      • getJournalLogFileSize

        public int getJournalLogFileSize()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setJournalLogFileSize

        public void setJournalLogFileSize​(int journalLogFileSize)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Sets the size of the journal log files When set using Xbean, values of the form "20 Mb", "1024kb", and "1g" can be used
      • getJdbcAdapter

        public JDBCPersistenceAdapter getJdbcAdapter()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setJdbcAdapter

        public void setJdbcAdapter​(JDBCPersistenceAdapter jdbcAdapter)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • isUseJournal

        public boolean isUseJournal()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getCheckpointInterval

        public long getCheckpointInterval()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCheckpointInterval

        public void setCheckpointInterval​(long checkpointInterval)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setUseJournal

        public void setUseJournal​(boolean useJournal)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Enables or disables the use of the journal. The default is to use the journal
        Parameters:
        useJournal -
      • isUseDedicatedTaskRunner

        public boolean isUseDedicatedTaskRunner()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setUseDedicatedTaskRunner

        public void setUseDedicatedTaskRunner​(boolean useDedicatedTaskRunner)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getTaskRunnerFactory

        public org.apache.activemq.thread.TaskRunnerFactory getTaskRunnerFactory()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setTaskRunnerFactory

        public void setTaskRunnerFactory​(org.apache.activemq.thread.TaskRunnerFactory taskRunnerFactory)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getJournal

        public org.apache.activeio.journal.Journal getJournal()
                                                       throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        IOException
      • setJournal

        public void setJournal​(org.apache.activeio.journal.Journal journal)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getJournalArchiveDirectory

        public File getJournalArchiveDirectory()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setJournalArchiveDirectory

        public void setJournalArchiveDirectory​(File journalArchiveDirectory)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • isUseQuickJournal

        public boolean isUseQuickJournal()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setUseQuickJournal

        public void setUseQuickJournal​(boolean useQuickJournal)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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.
      • getAdapter

        public JDBCAdapter getAdapter()
                               throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        IOException
      • setAdapter

        public void setAdapter​(JDBCAdapter adapter)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getStatements

        public Statements getStatements()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setStatements

        public void setStatements​(Statements statements)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setUseDatabaseLock

        public void setUseDatabaseLock​(boolean useDatabaseLock)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Sets whether or not an exclusive database lock should be used to enable JDBC Master/Slave. Enabled by default.
      • isCreateTablesOnStartup

        public boolean isCreateTablesOnStartup()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setCreateTablesOnStartup

        public void setCreateTablesOnStartup​(boolean createTablesOnStartup)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Sets whether or not tables are created on startup
      • getJournalThreadPriority

        public int getJournalThreadPriority()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setJournalThreadPriority

        public void setJournalThreadPriority​(int journalThreadPriority)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Sets the thread priority of the journal thread
      • createJournal

        protected void createJournal()
                              throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Throws:
        IOException
      • doStart

        protected void doStart()
                        throws Exception
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        doStart in class ServiceSupport
        Throws:
        Exception