public abstract class AbstractDerbyMessageStore extends AbstractJDBCMessageStore
AbstractJDBCMessageStore.JDBCTransactionMessageStore.MessageStoreReader_eventManager, MESSAGE_STORE_TABLE_NAMES| 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 byte[] |
getBlobAsBytes(ResultSet rs,
int col) |
protected String |
getSqlBigIntType() |
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() |
addEventListener, addMessage, createOrOpenMessageStoreDatabase, createStoredJDBCMessage, getBytesEvacuatedFromMemory, getConnection, getLogger, getNextMessageId, initMessageStore, isPersistent, newAutoCommitConnection, newConnection, newMessageStoreReader, newTransaction, onDelete, setMaximumMessageId, upgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStoreLocation, getStoreLocationAsFilepublic final void openMessageStore(ConfiguredObject<?> parent)
protected abstract void doOpen(ConfiguredObject<?> parent)
public final void upgradeStoreStructure()
throws StoreException
StoreExceptionpublic final void closeMessageStore()
closeMessageStore in interface 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 getSqlVarBinaryType(int size)
getSqlVarBinaryType in class AbstractJDBCMessageStoreprotected String getSqlBigIntType()
getSqlBigIntType in class AbstractJDBCMessageStoreprotected byte[] getBlobAsBytes(ResultSet rs, int col) throws SQLException
getBlobAsBytes in class AbstractJDBCMessageStoreSQLExceptionprotected boolean tableExists(String tableName, Connection conn) throws SQLException
tableExists in class AbstractJDBCMessageStoreSQLExceptionprotected void storedSizeChange(int delta)
storedSizeChange in class AbstractJDBCMessageStoreCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.