|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.util.AbstractTransaction
fr.dyade.aaa.util.DBTransaction
fr.dyade.aaa.util.MySQLDBTransaction
public final class MySQLDBTransaction
The MySQLDBTransaction class implements a transactionnal storage through a MySQL database.
Transaction
Nested Class Summary |
---|
Nested classes/interfaces inherited from class fr.dyade.aaa.util.AbstractTransaction |
---|
AbstractTransaction.Context |
Field Summary |
---|
Fields inherited from class fr.dyade.aaa.util.DBTransaction |
---|
conn |
Fields inherited from class fr.dyade.aaa.util.AbstractTransaction |
---|
dir, logmon, OOS_STREAM_HEADER, perThreadContext, phase, startTime |
Fields inherited from interface fr.dyade.aaa.util.Transaction |
---|
COMMIT, FINALIZE, FREE, GARBAGE, INIT, Kb, Mb, PhaseInfo, ROLLBACK, RUN |
Constructor Summary | |
---|---|
MySQLDBTransaction()
|
Method Summary | |
---|---|
protected void |
initDB()
Instantiates the database driver and creates the table if necessary |
Methods inherited from class fr.dyade.aaa.util.DBTransaction |
---|
close, commit, delete, getList, getLogThresholdOperation, getPersistenceDir, initRepository, isPersistent, loadByteArray, saveInLog, setPhase, stop |
Methods inherited from class fr.dyade.aaa.util.AbstractTransaction |
---|
begin, create, create, createByteArray, createByteArray, delete, getPhase, getPhaseInfo, getStartTime, init, load, load, loadByteArray, release, save, save, save, saveByteArray, saveByteArray, saveByteArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.dyade.aaa.util.DBTransactionMBean |
---|
getPhase, getPhaseInfo |
Methods inherited from interface fr.dyade.aaa.util.TransactionMBean |
---|
getStartTime |
Constructor Detail |
---|
public MySQLDBTransaction()
Method Detail |
---|
protected void initDB() throws java.io.IOException
DBTransaction
initDB
in class DBTransaction
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |