fr.dyade.aaa.util.NTransactionMBean Interface Reference

Inherits fr.dyade.aaa.util.TransactionMBean.

Inherited by fr.dyade.aaa.util.NTransaction.

Inheritance diagram for fr.dyade.aaa.util.NTransactionMBean:

Inheritance graph
[legend]
Collaboration diagram for fr.dyade.aaa.util.NTransactionMBean:

Collaboration graph
[legend]
List of all members.

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 ()

Detailed Description

Definition at line 24 of file NTransactionMBean.java.


Member Function Documentation

int fr.dyade.aaa.util.NTransactionMBean.getLogMemoryCapacity (  ) 

Returns the initial capacity of global in memory log (by default 4096).

Returns:
The initial capacity of global in memory log.

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.

Returns:
The maximum size of memory log in Kb.

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.

Parameters:
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.

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.

Returns:
The maximum size of disk log in Mb.

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.

Parameters:
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.

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.

Returns:
The pool size for 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.

Returns:
The number of commit operation.

Implemented in fr.dyade.aaa.util.NTransaction.

int fr.dyade.aaa.util.NTransactionMBean.getGarbageCount (  ) 

Returns the number of garbage operation since starting up.

Returns:
The number of garbage operation.

Implemented in fr.dyade.aaa.util.NTransaction.

long fr.dyade.aaa.util.NTransactionMBean.getStartTime (  ) 

Returns the starting time.

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.

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.

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.

Returns:
The maximum time between two garbages (seconds).

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.

Parameters:
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.

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.

Parameters:
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.

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.

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.

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.

Returns:
The number of load operation from repository.

Implemented in fr.dyade.aaa.util.NTransaction.


The documentation for this interface was generated from the following file:
Generated on Tue Sep 16 16:17:22 2008 for joram by  doxygen 1.5.0