public interface JDBCAdapter
void setStatements(Statements statementProvider)
void doCreateTables(TransactionContext c) throws SQLException, IOException
SQLExceptionIOExceptionvoid doDropTables(TransactionContext c) throws SQLException, IOException
SQLExceptionIOExceptionvoid doAddMessage(TransactionContext c, long sequence, MessageId messageID, ActiveMQDestination destination, byte[] data, long expiration, byte priority, XATransactionId xid) throws SQLException, IOException
SQLExceptionIOExceptionvoid doAddMessageReference(TransactionContext c, long sequence, MessageId messageId, ActiveMQDestination destination, long expirationTime, String messageRef) throws SQLException, IOException
SQLExceptionIOExceptionbyte[] doGetMessage(TransactionContext c, MessageId id) throws SQLException, IOException
SQLExceptionIOExceptionbyte[] doGetMessageById(TransactionContext c, long storeSequenceId) throws SQLException, IOException
SQLExceptionIOExceptionString doGetMessageReference(TransactionContext c, long id) throws SQLException, IOException
SQLExceptionIOExceptionvoid doRemoveMessage(TransactionContext c, long seq, XATransactionId xid) throws SQLException, IOException
SQLExceptionIOExceptionvoid doRecover(TransactionContext c, ActiveMQDestination destination, JDBCMessageRecoveryListener listener) throws Exception
Exceptionvoid doSetLastAck(TransactionContext c, ActiveMQDestination destination, XATransactionId xid, String clientId, String subscriptionName, long seq, long prio) throws SQLException, IOException
SQLExceptionIOExceptionvoid doRecoverSubscription(TransactionContext c, ActiveMQDestination destination, String clientId, String subscriptionName, JDBCMessageRecoveryListener listener) throws Exception
Exceptionvoid doRecoverNextMessages(TransactionContext c, ActiveMQDestination destination, String clientId, String subscriptionName, long seq, long priority, int maxReturned, JDBCMessageRecoveryListener listener) throws Exception
Exceptionvoid doRecoverNextMessagesWithPriority(TransactionContext c, ActiveMQDestination destination, String clientId, String subscriptionName, long seq, long priority, int maxReturned, JDBCMessageRecoveryListener listener) throws Exception
Exceptionvoid doSetSubscriberEntry(TransactionContext c, SubscriptionInfo subscriptionInfo, boolean retroactive, boolean isPrioritizeMessages) throws SQLException, IOException
SQLExceptionIOExceptionSubscriptionInfo doGetSubscriberEntry(TransactionContext c, ActiveMQDestination destination, String clientId, String subscriptionName) throws SQLException, IOException
SQLExceptionIOExceptionlong[] getStoreSequenceId(TransactionContext c, ActiveMQDestination destination, MessageId messageID) throws SQLException, IOException
SQLExceptionIOExceptionvoid doRemoveAllMessages(TransactionContext c, ActiveMQDestination destinationName) throws SQLException, IOException
SQLExceptionIOExceptionvoid doDeleteSubscription(TransactionContext c, ActiveMQDestination destinationName, String clientId, String subscriptionName) throws SQLException, IOException
SQLExceptionIOExceptionvoid doDeleteOldMessages(TransactionContext c) throws SQLException, IOException
SQLExceptionIOExceptionlong doGetLastMessageStoreSequenceId(TransactionContext c) throws SQLException, IOException
SQLExceptionIOExceptionSet<ActiveMQDestination> doGetDestinations(TransactionContext c) throws SQLException, IOException
SQLExceptionIOExceptionvoid setUseExternalMessageReferences(boolean useExternalMessageReferences)
SubscriptionInfo[] doGetAllSubscriptions(TransactionContext c, ActiveMQDestination destination) throws SQLException, IOException
SQLExceptionIOExceptionint doGetDurableSubscriberMessageCount(TransactionContext c, ActiveMQDestination destination, String clientId, String subscriptionName, boolean isPrioritizeMessages) throws SQLException, IOException
SQLExceptionIOExceptionint doGetMessageCount(TransactionContext c, ActiveMQDestination destination) throws SQLException, IOException
SQLExceptionIOExceptionvoid doRecoverNextMessages(TransactionContext c, ActiveMQDestination destination, long[] lastRecoveredEntries, long maxSeq, int maxReturned, boolean isPrioritizeMessages, JDBCMessageRecoveryListener listener) throws Exception
Exceptionlong doGetLastAckedDurableSubscriberMessageId(TransactionContext c, ActiveMQDestination destination, String clientId, String subscriberName) throws SQLException, IOException
SQLExceptionIOExceptionvoid doMessageIdScan(TransactionContext c, int limit, JDBCMessageIdScanListener listener) throws SQLException, IOException
SQLExceptionIOExceptionlong doGetLastProducerSequenceId(TransactionContext c, ProducerId id) throws SQLException, IOException
SQLExceptionIOExceptionvoid doSetLastAckWithPriority(TransactionContext c, ActiveMQDestination destination, XATransactionId xid, String clientId, String subscriptionName, long re, long re1) throws SQLException, IOException
SQLExceptionIOExceptionint getMaxRows()
void setMaxRows(int maxRows)
void doRecordDestination(TransactionContext c, ActiveMQDestination destination) throws SQLException, IOException
SQLExceptionIOExceptionvoid doRecoverPreparedOps(TransactionContext c, JdbcMemoryTransactionStore jdbcMemoryTransactionStore) throws SQLException, IOException
SQLExceptionIOExceptionvoid doCommitAddOp(TransactionContext c, long preparedSequence, long sequence) throws SQLException, IOException
SQLExceptionIOExceptionvoid doClearLastAck(TransactionContext c, ActiveMQDestination destination, byte priority, String subId, String subName) throws SQLException, IOException
SQLExceptionIOExceptionvoid doUpdateMessage(TransactionContext c, ActiveMQDestination destination, MessageId id, byte[] data) throws SQLException, IOException
SQLExceptionIOExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.