public final class JMSJournalStorageManagerImpl extends Object implements JMSStorageManager
| Modifier and Type | Field and Description |
|---|---|
static byte |
CF_RECORD |
static byte |
DESTINATION_RECORD |
static byte |
JNDI_RECORD |
| Constructor and Description |
|---|
JMSJournalStorageManagerImpl(org.hornetq.utils.IDGenerator idGenerator,
org.hornetq.core.config.Configuration config,
org.hornetq.core.replication.ReplicationManager replicator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJNDI(PersistedType type,
String name,
String... address) |
void |
deleteConnectionFactory(String cfName) |
void |
deleteDestination(PersistedType type,
String name) |
void |
deleteJNDI(PersistedType type,
String name) |
void |
deleteJNDI(PersistedType type,
String name,
String address) |
boolean |
isStarted() |
void |
load() |
List<PersistedConnectionFactory> |
recoverConnectionFactories() |
List<PersistedDestination> |
recoverDestinations() |
List<PersistedJNDI> |
recoverPersistedJNDI() |
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 JNDI_RECORD
public JMSJournalStorageManagerImpl(org.hornetq.utils.IDGenerator idGenerator,
org.hornetq.core.config.Configuration config,
org.hornetq.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<PersistedJNDI> recoverPersistedJNDI() throws Exception
recoverPersistedJNDI in interface JMSStorageManagerExceptionpublic void addJNDI(PersistedType type, String name, String... address) throws Exception
addJNDI in interface JMSStorageManagerExceptionpublic void deleteJNDI(PersistedType type, String name, String address) throws Exception
deleteJNDI in interface JMSStorageManagerExceptionpublic void deleteJNDI(PersistedType type, String name) throws Exception
deleteJNDI in interface JMSStorageManagerExceptionpublic void deleteDestination(PersistedType type, String name) throws Exception
deleteDestination in interface JMSStorageManagerExceptionpublic boolean isStarted()
isStarted in interface org.hornetq.core.server.HornetQComponentpublic void start()
throws Exception
start in interface org.hornetq.core.server.HornetQComponentExceptionpublic void stop()
throws Exception
stop in interface org.hornetq.core.server.HornetQComponentExceptionpublic void load()
throws Exception
load in interface JMSStorageManagerExceptionCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.