public abstract class AbstractDerbyMessageStore extends AbstractJDBCMessageStore
AbstractJDBCMessageStore.JDBCTransactionorg.apache.qpid.server.store.MessageStore.MessageDeleteListener, org.apache.qpid.server.store.MessageStore.MessageStoreReader_eventManager| Constructor and Description |
|---|
AbstractDerbyMessageStore() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMessageStoreOpen() |
void |
closeMessageStore() |
protected abstract void |
doClose() |
protected abstract void |
doOpen(ConfiguredObject<?> parent) |
protected InputStream |
getBlobAsInputStream(ResultSet rs,
int col) |
protected String |
getSqlBigIntType() |
protected String |
getSqlBlobStorage(String columnName) |
protected String |
getSqlBlobType() |
protected String |
getSqlVarBinaryType(int size) |
protected boolean |
isMessageStoreOpen() |
void |
openMessageStore(ConfiguredObject<?> parent) |
protected void |
storedSizeChange(int delta) |
protected boolean |
tableExists(String tableName,
Connection conn) |
void |
upgradeStoreStructure() |
addDeleteAction, addEventListener, addMessage, addMessageDeleteListener, createOrOpenMessageStoreDatabase, createStoredJDBCMessage, getBytesEvacuatedFromMemory, getConnection, getInMemorySize, getLogger, getNextMessageId, getTableNames, initMessageStore, isPersistent, newAutoCommitConnection, newConnection, newMessageStoreReader, newTransaction, onDelete, removeDeleteAction, removeMessageDeleteListener, setMaximumMessageId, setTablePrefix, upgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStoreLocation, getStoreLocationAsFile, onDeletepublic final void openMessageStore(ConfiguredObject<?> parent)
protected abstract void doOpen(ConfiguredObject<?> parent)
public final void upgradeStoreStructure()
throws org.apache.qpid.server.store.StoreException
public final void closeMessageStore()
closeMessageStore in interface org.apache.qpid.server.store.MessageStorecloseMessageStore in class AbstractJDBCMessageStoreprotected abstract void doClose()
protected boolean isMessageStoreOpen()
isMessageStoreOpen in class AbstractJDBCMessageStoreprotected void checkMessageStoreOpen()
checkMessageStoreOpen in class AbstractJDBCMessageStoreprotected String getSqlBlobType()
getSqlBlobType in class AbstractJDBCMessageStoreprotected String getSqlBlobStorage(String columnName)
getSqlBlobStorage in class AbstractJDBCMessageStoreprotected String getSqlVarBinaryType(int size)
getSqlVarBinaryType in class AbstractJDBCMessageStoreprotected String getSqlBigIntType()
getSqlBigIntType in class AbstractJDBCMessageStoreprotected InputStream getBlobAsInputStream(ResultSet rs, int col) throws SQLException
getBlobAsInputStream in class AbstractJDBCMessageStoreSQLExceptionprotected boolean tableExists(String tableName, Connection conn) throws SQLException
tableExists in class AbstractJDBCMessageStoreSQLExceptionprotected void storedSizeChange(int delta)
storedSizeChange in class AbstractJDBCMessageStoreCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.