Class DBOption
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.Configurable
org.apache.activemq.artemis.cli.commands.tools.DataAbstract
org.apache.activemq.artemis.cli.commands.tools.LockAbstract
org.apache.activemq.artemis.cli.commands.tools.OptionalLocking
org.apache.activemq.artemis.cli.commands.tools.DBOption
- Direct Known Subclasses:
PrintData, RecoverMessages, XmlDataExporter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Configurationprotected ExecutorServiceprotected ExecutorFactoryprotected org.apache.activemq.artemis.core.paging.PagingManagerprotected ScheduledExecutorServiceprotected org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManagerFields inherited from class DataAbstract
binding, journal, largeMessges, pagingFields inherited from class ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanup()voiddone()execute(ActionContext context) protected voidinitializeJournal(Configuration configuration) booleanisJDBC()setJdbcBindings(String jdbcBindings) setJdbcClassName(String jdbcClassName) setJdbcLargeMessages(String jdbcLargeMessages) setJdbcMessages(String jdbcMessages) setJdbcNodeManager(String jdbcNodeManager) setJdbcPageStore(String jdbcPageStore) setJdbcPassword(String jdbcPassword) setJdbcURL(String jdbcURL) setJdbcUser(String jdbcUser) Methods inherited from class OptionalLocking
isIgnoreLock, lockCLI, setIgnoreLockMethods inherited from class LockAbstract
unlockMethods inherited from class DataAbstract
getBinding, getJournal, getLargeMessages, getPagingMethods inherited from class Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, readConfiguration, treatErrorMethods inherited from class ActionAbstract
getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Field Details
-
storageManager
protected org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager storageManager -
config
-
executor
-
executorFactory
-
scheduledExecutorService
-
pagingmanager
protected org.apache.activemq.artemis.core.paging.PagingManager pagingmanager
-
-
Constructor Details
-
DBOption
public DBOption()
-
-
Method Details
-
isJDBC
-
getOutput
-
setOutput
-
getJdbcBindings
-
setJdbcBindings
-
getJdbcMessages
-
setJdbcMessages
-
getJdbcLargeMessages
-
setJdbcLargeMessages
-
getJdbcPageStore
-
setJdbcPageStore
-
getJdbcNodeManager
-
setJdbcNodeManager
-
getJdbcURL
-
setJdbcURL
-
getJdbcClassName
-
setJdbcClassName
-
getJdbcUser
-
setJdbcUser
-
getJdbcPassword
-
setJdbcPassword
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classLockAbstract- Throws:
Exception
-
done
public void done()- Specified by:
donein interfaceAction- Overrides:
donein classLockAbstract
-
getParameterConfiguration
- Throws:
Exception
-
initializeJournal
- Throws:
Exception
-
cleanup
-