|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.varia.stats.CacheListener
public class CacheListener
Nested Class Summary | |
---|---|
static class |
CacheListener.ContentionStats
|
static class |
CacheListener.EvictionStats
|
static class |
CacheListener.HitStats
|
static class |
CacheListener.MissStats
|
Field Summary |
---|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache.Listener |
---|
NOOP |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
---|---|
CacheListener()
|
Method Summary | |
---|---|
void |
contention(int partitionIndex,
long time)
|
void |
eviction(int partitionIndex,
Object pk,
int size)
|
javax.management.ObjectName |
getCacheName()
|
javax.management.ObjectName |
getStatsCollector()
|
void |
hit(int partitionIndex)
|
void |
miss(int partitionIndex)
|
void |
setCacheName(javax.management.ObjectName cacheName)
|
void |
setStatsCollector(javax.management.ObjectName statsCollector)
|
void |
startService()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Constructor Detail |
---|
public CacheListener()
Method Detail |
---|
public javax.management.ObjectName getStatsCollector()
getStatsCollector
in interface CacheListenerMBean
public void setStatsCollector(javax.management.ObjectName statsCollector)
setStatsCollector
in interface CacheListenerMBean
public javax.management.ObjectName getCacheName()
getCacheName
in interface CacheListenerMBean
public void setCacheName(javax.management.ObjectName cacheName)
setCacheName
in interface CacheListenerMBean
public void startService() throws Exception
startService
in class org.jboss.system.ServiceMBeanSupport
Exception
public void contention(int partitionIndex, long time)
contention
in interface org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache.Listener
public void eviction(int partitionIndex, Object pk, int size)
eviction
in interface org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache.Listener
public void hit(int partitionIndex)
hit
in interface org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache.Listener
public void miss(int partitionIndex)
miss
in interface org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache.Listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |