Inherited by fr.dyade.aaa.util.NTransaction.
Inheritance diagram for fr.dyade.aaa.util.NTransactionMBean:


Public Member Functions | |
| int | getLogMemoryCapacity () |
| int | getMaxLogMemorySize () |
| void | setMaxLogMemorySize (int size) |
| int | getLogMemorySize () |
| int | getMaxLogFileSize () |
| void | setMaxLogFileSize (int size) |
| int | getLogFileSize () |
| int | getLogThresholdOperation () |
| int | getCommitCount () |
| int | getGarbageCount () |
| long | getStartTime () |
| long | getGarbageTime () |
| int | getGarbageRatio () |
| int | getGarbageDelay () |
| void | setGarbageDelay (int timeout) |
| boolean | isGarbageRunning () |
| void | garbageAsync (boolean async) |
| void | garbage () |
| int | getNbSavedObjects () |
| int | getNbDeletedObjects () |
| int | getNbBadDeletedObjects () |
| int | getNbLoadedObjects () |
Definition at line 24 of file NTransactionMBean.java.
| int fr.dyade.aaa.util.NTransactionMBean.getLogMemoryCapacity | ( | ) |
Returns the initial capacity of global in memory log (by default 4096).
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getMaxLogMemorySize | ( | ) |
Returns the maximum size of memory log in Kb, by default 2048Kb.
Implemented in fr.dyade.aaa.util.NTransaction.
| void fr.dyade.aaa.util.NTransactionMBean.setMaxLogMemorySize | ( | int | size | ) |
Sets the maximum size of memory log in Kb.
| size | The maximum size of memory log in Kb. |
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getLogMemorySize | ( | ) |
Returns the size of memory log in byte.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getMaxLogFileSize | ( | ) |
Returns the maximum size of disk log in Mb, by default 16Mb.
Implemented in fr.dyade.aaa.util.NTransaction.
| void fr.dyade.aaa.util.NTransactionMBean.setMaxLogFileSize | ( | int | size | ) |
Sets the maximum size of disk log in Mb.
| size | The maximum size of disk log in Mb. |
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getLogFileSize | ( | ) |
Returns the size of disk log in Mb.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getLogThresholdOperation | ( | ) |
Returns the pool size for operation objects, by default 1000.
operation objects. Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getCommitCount | ( | ) |
Returns the number of commit operation since starting up.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getGarbageCount | ( | ) |
Returns the number of garbage operation since starting up.
Implemented in fr.dyade.aaa.util.NTransaction.
| long fr.dyade.aaa.util.NTransactionMBean.getStartTime | ( | ) |
Returns the starting time.
Implemented in fr.dyade.aaa.util.NTransaction.
| long fr.dyade.aaa.util.NTransactionMBean.getGarbageTime | ( | ) |
Returns the cumulated time of garbage operations.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getGarbageRatio | ( | ) |
Returns the ratio of garbage operations since starting up.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getGarbageDelay | ( | ) |
Returns the maximum time between two garbages, 0 if disable.
Implemented in fr.dyade.aaa.util.NTransaction.
| void fr.dyade.aaa.util.NTransactionMBean.setGarbageDelay | ( | int | timeout | ) |
Sets the maximum time between two garbages, 0 to disable the asynchronous garbage mechanism.
| timeout | The maximum time between two garbages (seconds). |
Implemented in fr.dyade.aaa.util.NTransaction.
| boolean fr.dyade.aaa.util.NTransactionMBean.isGarbageRunning | ( | ) |
Returns the status of the garbage thread.
Implemented in fr.dyade.aaa.util.NTransaction.
| void fr.dyade.aaa.util.NTransactionMBean.garbageAsync | ( | boolean | async | ) |
Sets asynchronous garbage.
| async | If true activates the asynchronous garbage, deasctivates otherwise. |
Implemented in fr.dyade.aaa.util.NTransaction.
| void fr.dyade.aaa.util.NTransactionMBean.garbage | ( | ) |
Garbage the log file.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getNbSavedObjects | ( | ) |
Returns the number of save operation to repository.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getNbDeletedObjects | ( | ) |
Returns the number of delete operation on repository.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getNbBadDeletedObjects | ( | ) |
Returns the number of useless delete operation on repository.
Implemented in fr.dyade.aaa.util.NTransaction.
| int fr.dyade.aaa.util.NTransactionMBean.getNbLoadedObjects | ( | ) |
Returns the number of load operation from repository.
Implemented in fr.dyade.aaa.util.NTransaction.
1.5.0