org.objectweb.speedo.jmx.mbeans
Interface QueryMBean

All Superinterfaces:
org.objectweb.fractal.api.control.AttributeController, QueryManagerAttribute
All Known Implementing Classes:
Query

public interface QueryMBean
extends QueryManagerAttribute

Defines the MBean view aggregating attributes about the management of queries

Author:
S.Chassande-Barrioz

Method Summary
 void evictAllCompiledQueriesFromCache()
          Evicts all entries from the compiled query cache.
 java.lang.String getCompiledQueryCache_AutoCleanSize()
           
 java.lang.String getCompiledQueryCache_AutoCleanThreshold()
           
 int getCompiledQueryCache_CurrentSize()
           
 int getCompiledQueryCache_MaxObjects()
           
 java.util.Collection getCompiledQueryCache_ObjectIdentifiers()
           
 void setCompiledQueryCache_AutoCleanSize(java.lang.String size)
           
 void setCompiledQueryCache_AutoCleanThreshold(java.lang.String size)
           
 void setCompiledQueryCache_MaxObjects(int size)
           
 
Methods inherited from interface org.objectweb.speedo.query.api.QueryManagerAttribute
getPrefetchActivatedOnExtent, getPrefetchActivatedOnQuery, setPrefetchActivatedOnExtent, setPrefetchActivatedOnQuery
 

Method Detail

getCompiledQueryCache_AutoCleanSize

public java.lang.String getCompiledQueryCache_AutoCleanSize()

getCompiledQueryCache_AutoCleanThreshold

public java.lang.String getCompiledQueryCache_AutoCleanThreshold()

getCompiledQueryCache_ObjectIdentifiers

public java.util.Collection getCompiledQueryCache_ObjectIdentifiers()

getCompiledQueryCache_CurrentSize

public int getCompiledQueryCache_CurrentSize()

getCompiledQueryCache_MaxObjects

public int getCompiledQueryCache_MaxObjects()

setCompiledQueryCache_AutoCleanSize

public void setCompiledQueryCache_AutoCleanSize(java.lang.String size)

setCompiledQueryCache_AutoCleanThreshold

public void setCompiledQueryCache_AutoCleanThreshold(java.lang.String size)

setCompiledQueryCache_MaxObjects

public void setCompiledQueryCache_MaxObjects(int size)
                                      throws java.lang.IllegalArgumentException,
                                             org.objectweb.perseus.cache.api.CacheException
Throws:
java.lang.IllegalArgumentException
org.objectweb.perseus.cache.api.CacheException

evictAllCompiledQueriesFromCache

public void evictAllCompiledQueriesFromCache()
Evicts all entries from the compiled query cache.