org.objectweb.speedo.jmx.mbeans
Interface QueryMBean

All Superinterfaces:
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

java.lang.String getCompiledQueryCache_AutoCleanSize()

getCompiledQueryCache_AutoCleanThreshold

java.lang.String getCompiledQueryCache_AutoCleanThreshold()

getCompiledQueryCache_ObjectIdentifiers

java.util.Collection getCompiledQueryCache_ObjectIdentifiers()

getCompiledQueryCache_CurrentSize

int getCompiledQueryCache_CurrentSize()

getCompiledQueryCache_MaxObjects

int getCompiledQueryCache_MaxObjects()

setCompiledQueryCache_AutoCleanSize

void setCompiledQueryCache_AutoCleanSize(java.lang.String size)

setCompiledQueryCache_AutoCleanThreshold

void setCompiledQueryCache_AutoCleanThreshold(java.lang.String size)

setCompiledQueryCache_MaxObjects

void setCompiledQueryCache_MaxObjects(int size)
                                      throws java.lang.IllegalArgumentException,
                                             CacheException
Throws:
java.lang.IllegalArgumentException
CacheException

evictAllCompiledQueriesFromCache

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