public final class Persister extends DbPersister
DbPersister.RetentionPolicy_identityInfoProvider, _influxDbName, _influxEnabled, _influxMpstatsInjectFreq, _influxPassword, _influxUrl, _influxUsername, _rdbmsConnection, _rdbmsCreateIndexes, _rdbmsCreateTables, _rdbmsDriver, _rdbmsEnabled, _rdbmsNumReaderThreads, _rdbmsPassword, _rdbmsReconnectAttemptDuration, _rdbmsReconnectFrequency, _rdbmsUrl, _rdbmsUsername, _tableNames, MAX_DATE, MIN_DATE, TECHSTATS_RP, TECHSTATS_RP_DURATION| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose()
Method invoked to close the concrete persister
This method is called just before the database connection is closed.
|
protected void |
doDelete(com.eaio.uuid.UUID id)
Delete an object from the database
|
protected void |
doOpen()
Method invoked to open the concrete persister
This method is called after the database connection is opened.
|
protected void |
doUpdate(Object object)
Add or update an object in the database
|
MessageProcessingTimePersister |
getMessageProcessingTimePersister() |
void |
read(com.eaio.uuid.UUID parentId,
IDbReaderCallback cb)
Read all objects from the database
|
close, commit, delete, doGetAdditionalRetentionPolicies, getAgentName, getAppName, getAppPartition, getInlfuxMpstatsInjectFrequency, getRDBMSConnection, getServerName, getTableNames, indexExists, isValidDate, open, sequenceExists, tableExists, tracePrefix, tracer, update@Inject public Persister(IDbTracer dbTracer)
public final MessageProcessingTimePersister getMessageProcessingTimePersister()
protected final void doOpen()
throws Exception
DbPersisterThis method is called after the database connection is opened.
doOpen in class DbPersisterExceptionpublic final void read(com.eaio.uuid.UUID parentId,
IDbReaderCallback cb)
throws Exception
DbPersisterread in class DbPersisterparentId - The id of the parent of the root object in the databaseExceptionprotected final void doUpdate(Object object) throws Exception
DbPersisterdoUpdate in class DbPersisterExceptionprotected final void doDelete(com.eaio.uuid.UUID id)
throws Exception
DbPersisterdoDelete in class DbPersisterExceptionprotected final void doClose()
DbPersisterThis method is called just before the database connection is closed.
doClose in class DbPersisterCopyright © 2016 Neeve Research, LLC. All Rights Reserved.