public final class JMSJournalStorageManagerImpl extends Object implements JMSStorageManager
| Modifier and Type | Field and Description |
|---|---|
static byte |
BINDING_RECORD |
static byte |
CF_RECORD |
static byte |
DESTINATION_RECORD |
| Constructor and Description |
|---|
JMSJournalStorageManagerImpl(org.apache.activemq.artemis.utils.ExecutorFactory ioExecutors,
org.apache.activemq.artemis.utils.IDGenerator idGenerator,
org.apache.activemq.artemis.core.config.Configuration config,
org.apache.activemq.artemis.core.replication.ReplicationManager replicator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBindings(PersistedType type,
String name,
String... address) |
void |
deleteBindings(PersistedType type,
String name) |
void |
deleteBindings(PersistedType type,
String name,
String address) |
void |
deleteConnectionFactory(String cfName) |
void |
deleteDestination(PersistedType type,
String name) |
boolean |
isStarted() |
void |
load() |
List<PersistedConnectionFactory> |
recoverConnectionFactories() |
List<PersistedDestination> |
recoverDestinations() |
List<PersistedBindings> |
recoverPersistedBindings() |
void |
start() |
void |
stop() |
void |
storeConnectionFactory(PersistedConnectionFactory connectionFactory) |
void |
storeDestination(PersistedDestination destination) |
public static final byte CF_RECORD
public static final byte DESTINATION_RECORD
public static final byte BINDING_RECORD
public JMSJournalStorageManagerImpl(org.apache.activemq.artemis.utils.ExecutorFactory ioExecutors,
org.apache.activemq.artemis.utils.IDGenerator idGenerator,
org.apache.activemq.artemis.core.config.Configuration config,
org.apache.activemq.artemis.core.replication.ReplicationManager replicator)
public List<PersistedConnectionFactory> recoverConnectionFactories()
recoverConnectionFactories in interface JMSStorageManagerpublic void storeConnectionFactory(PersistedConnectionFactory connectionFactory) throws Exception
storeConnectionFactory in interface JMSStorageManagerExceptionpublic void deleteConnectionFactory(String cfName) throws Exception
deleteConnectionFactory in interface JMSStorageManagerExceptionpublic List<PersistedDestination> recoverDestinations()
recoverDestinations in interface JMSStorageManagerpublic void storeDestination(PersistedDestination destination) throws Exception
storeDestination in interface JMSStorageManagerExceptionpublic List<PersistedBindings> recoverPersistedBindings() throws Exception
recoverPersistedBindings in interface JMSStorageManagerExceptionpublic void addBindings(PersistedType type, String name, String... address) throws Exception
addBindings in interface JMSStorageManagerExceptionpublic void deleteBindings(PersistedType type, String name, String address) throws Exception
deleteBindings in interface JMSStorageManagerExceptionpublic void deleteBindings(PersistedType type, String name) throws Exception
deleteBindings in interface JMSStorageManagerExceptionpublic void deleteDestination(PersistedType type, String name) throws Exception
deleteDestination in interface JMSStorageManagerExceptionpublic boolean isStarted()
isStarted in interface org.apache.activemq.artemis.core.server.ActiveMQComponentpublic void start()
throws Exception
start in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic void stop()
throws Exception
stop in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic void load()
throws Exception
load in interface JMSStorageManagerExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.