org.apache.openjpa.instrumentation.jmx
Class PreparedQueryCacheJMXInstrument
java.lang.Object
org.apache.openjpa.lib.instrumentation.AbstractInstrument
org.apache.openjpa.instrumentation.AbstractPreparedQueryCacheInstrument
org.apache.openjpa.instrumentation.jmx.PreparedQueryCacheJMXInstrument
- All Implemented Interfaces:
- JMXInstrument, PreparedQueryCacheJMXInstrumentMBean, PreparedQueryCacheInstrument, Instrument
public class PreparedQueryCacheJMXInstrument
- extends AbstractPreparedQueryCacheInstrument
- implements JMXInstrument, PreparedQueryCacheJMXInstrumentMBean
A JMX-specific instrument for the query cache
| Methods inherited from class org.apache.openjpa.instrumentation.AbstractPreparedQueryCacheInstrument |
getConfigId, getContextRef, getExecutionCount, getExecutionCount, getHitCount, getHitCount, getTotalExecutionCount, getTotalExecutionCount, getTotalHitCount, getTotalHitCount, queries, reset, setConfigId, setContextRef, setPreparedQueryCache, sinceDate, startDate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.openjpa.instrumentation.PreparedQueryCacheInstrument |
getExecutionCount, getExecutionCount, getHitCount, getHitCount, getTotalExecutionCount, getTotalExecutionCount, getTotalHitCount, getTotalHitCount, queries, reset, sinceDate, startDate |
PreparedQueryCacheJMXInstrument
public PreparedQueryCacheJMXInstrument()
getName
public String getName()
- Specified by:
getName in interface Instrument- Specified by:
getName in class AbstractInstrument
getLevel
public InstrumentationLevel getLevel()
- Specified by:
getLevel in interface Instrument- Overrides:
getLevel in class AbstractPreparedQueryCacheInstrument
initialize
public void initialize()
- Specified by:
initialize in interface Instrument- Specified by:
initialize in class AbstractInstrument
getObjectName
public ObjectName getObjectName()
- Description copied from interface:
JMXInstrument
- Returns the JMX object name for the instrument
- Specified by:
getObjectName in interface JMXInstrument
- Returns:
start
public void start()
- Specified by:
start in interface Instrument
stop
public void stop()
- Specified by:
stop in interface Instrument
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.