org.jboss.cache.interceptors
Interface TxInterceptorMBean

All Superinterfaces:
InterceptorMBean
All Known Implementing Classes:
TxInterceptor

public interface TxInterceptorMBean
extends InterceptorMBean

Interface capturing transaction statistics

Version:
$Id: TxInterceptorMBean.java,v 1.1 2006/01/25 19:26:40 jerrygauth Exp $
Author:
Jerry Gauthier

Method Summary
 long getCommits()
          Returns the number of transaction commits
 long getPrepares()
          Returns the number of transaction prepares
 long getRollbacks()
          Returns the number of transaction rollbacks
 
Methods inherited from interface org.jboss.cache.interceptors.InterceptorMBean
dumpStatistics, getStatisticsEnabled, resetStatistics, setStatisticsEnabled
 

Method Detail

getPrepares

long getPrepares()
Returns the number of transaction prepares

Returns:
the number of prepares

getCommits

long getCommits()
Returns the number of transaction commits

Returns:
the number of commits

getRollbacks

long getRollbacks()
Returns the number of transaction rollbacks

Returns:
the number of rollbacks