public interface NGTransactionMBean extends TransactionMBean
Modifier and Type | Method and Description |
---|---|
void |
garbage(int idx) |
int |
getGarbageCount()
Returns the number of garbage operation since starting up.
|
int |
getGarbageRatio()
Returns the ratio of garbage operations since starting up.
|
long |
getGarbageTime()
Returns the cumulated time of garbage operations.
|
int |
getLogFileSize()
Returns the size of disk log in Mb.
|
int |
getLogMemoryCapacity()
Returns the initial capacity of global in memory log (by default 4096).
|
int |
getLogMemorySize()
Returns the number of operation in the memory log.
|
int |
getLogThresholdOperation()
Returns the pool size for
operation objects, by default 1000. |
int |
getMaxLogFileSize()
Returns the maximum size of disk log in Mb, by default 16Mb.
|
int |
getNbBadDeletedObjects()
Returns the number of useless delete operation on repository.
|
int |
getNbDeletedObjects()
Returns the number of delete operation on repository.
|
int |
getNbLoadedFromLog()
Returns the number of load operation from a log file since last start.
|
int |
getNbLoadedObjects()
Returns the number of load operation from repository.
|
int |
getNbLogFiles()
Returns the number of rolled log files.
|
int |
getNbSavedObjects()
Returns the number of save operation to repository.
|
String |
getRepositoryImpl() |
boolean |
isSyncOnWrite()
Returns true if every write in the log file is synced to disk.
|
String |
logContent(int idx) |
String |
logCounters() |
void |
setMaxLogFileSize(int size)
Sets the maximum size of disk log in Mb.
|
backup, getCommitCount, getPhase, getPhaseInfo, getStartTime, isPersistent, useLoadAll
int getLogMemoryCapacity()
int getLogMemorySize()
int getMaxLogFileSize()
void setMaxLogFileSize(int size)
size
- The maximum size of disk log in Mb.int getLogFileSize()
int getNbLogFiles()
boolean isSyncOnWrite()
int getLogThresholdOperation()
operation
objects, by default 1000.operation
objects.int getGarbageCount()
int getNbLoadedFromLog()
long getGarbageTime()
int getGarbageRatio()
String getRepositoryImpl()
int getNbSavedObjects()
int getNbDeletedObjects()
int getNbBadDeletedObjects()
int getNbLoadedObjects()
String logCounters()
String logContent(int idx) throws IOException
IOException
void garbage(int idx) throws IOException
IOException
Copyright © 2021 ScalAgent D.T.. All rights reserved.