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 PagingManagerprotected ScheduledExecutorServiceprotected JournalStorageManagerFields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, pagingFields inherited from class org.apache.activemq.artemis.cli.commands.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 org.apache.activemq.artemis.cli.commands.tools.OptionalLocking
isIgnoreLock, lockCLI, setIgnoreLockMethods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
unlockMethods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPagingMethods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, readConfiguration, treatErrorMethods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Field Details
-
storageManager
-
config
-
executor
-
executorFactory
-
scheduledExecutorService
-
pagingmanager
-
-
Constructor Details
-
DBOption
public DBOption()
-
-
Method Details
-
isJDBC
- Throws:
Exception
-
getOutput
-
setOutput
-
getJdbcBindings
- Throws:
Exception
-
setJdbcBindings
-
getJdbcMessages
- Throws:
Exception
-
setJdbcMessages
-
getJdbcLargeMessages
- Throws:
Exception
-
setJdbcLargeMessages
-
getJdbcPageStore
- Throws:
Exception
-
setJdbcPageStore
-
getJdbcNodeManager
- Throws:
Exception
-
setJdbcNodeManager
-
getJdbcURL
- Throws:
Exception
-
setJdbcURL
-
getJdbcClassName
- Throws:
Exception
-
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
- Throws:
Exception
-