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
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
PrintData,RecoverMessages,XmlDataExporter
public class DBOption extends OptionalLocking
-
-
Field Summary
Fields Modifier and Type Field Description protected Configurationconfigprotected ExecutorServiceexecutorprotected ExecutorFactoryexecutorFactoryprotected PagingManagerpagingmanagerprotected ScheduledExecutorServicescheduledExecutorServiceprotected JournalStorageManagerstorageManager-
Fields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, paging
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.Configurable
global
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
context, DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description DBOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanup()Objectexecute(ActionContext context)StringgetJdbcBindings()StringgetJdbcClassName()StringgetJdbcLargeMessages()StringgetJdbcMessages()StringgetJdbcNodeManager()StringgetJdbcPageStore()StringgetJdbcURL()ConfigurationgetParameterConfiguration()protected voidinitializeJournal(Configuration configuration)booleanisJDBC()DBOptionsetJdbcBindings(String jdbcBindings)DBOptionsetJdbcClassName(String jdbcClassName)DBOptionsetJdbcLargeMessages(String jdbcLargeMessages)DBOptionsetJdbcMessages(String jdbcMessages)DBOptionsetJdbcNodeManager(String jdbcNodeManager)DBOptionsetJdbcPageStore(String jdbcPageStore)DBOptionsetJdbcURL(String jdbcURL)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.OptionalLocking
lockCLI
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
unlock
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPaging
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, helpGroup, readConfiguration, treatError
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
checkOptions, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Field Detail
-
storageManager
protected JournalStorageManager storageManager
-
config
protected Configuration config
-
executor
protected ExecutorService executor
-
executorFactory
protected ExecutorFactory executorFactory
-
scheduledExecutorService
protected ScheduledExecutorService scheduledExecutorService
-
pagingmanager
protected PagingManager pagingmanager
-
-
Method Detail
-
execute
public Object execute(ActionContext context) throws Exception
- Specified by:
executein interfaceAction- Overrides:
executein classLockAbstract- Throws:
Exception
-
getParameterConfiguration
public Configuration getParameterConfiguration() throws Exception
- Throws:
Exception
-
initializeJournal
protected void initializeJournal(Configuration configuration) throws Exception
- Throws:
Exception
-
-