org.objectweb.speedo.jmx.mbeans
Class Query

java.lang.Object
  extended byorg.objectweb.speedo.jmx.mbeans.Query
All Implemented Interfaces:
org.objectweb.fractal.api.control.AttributeController, QueryManagerAttribute, QueryMBean

public class Query
extends java.lang.Object
implements QueryMBean

Author:
S.Chassande-Barrioz

Constructor Summary
Query(org.objectweb.perseus.cache.api.CacheAttributeController ca, org.objectweb.perseus.cache.api.UnbindManager um, org.objectweb.perseus.cache.api.CacheManager cm, QueryManagerAttribute qma)
           
 
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()
           
 boolean getPrefetchActivatedOnExtent()
          Indicates of the prefetching mode on extent
 boolean getPrefetchActivatedOnQuery()
          Indicates of the prefetching mode on query
 void setCompiledQueryCache_AutoCleanSize(java.lang.String size)
           
 void setCompiledQueryCache_AutoCleanThreshold(java.lang.String size)
           
 void setCompiledQueryCache_MaxObjects(int size)
           
 void setPrefetchActivatedOnExtent(boolean prefetch)
          Assignes of the prefetching mode on extent
 void setPrefetchActivatedOnQuery(boolean prefetch)
          Assignes of the prefetching mode on query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query(org.objectweb.perseus.cache.api.CacheAttributeController ca,
             org.objectweb.perseus.cache.api.UnbindManager um,
             org.objectweb.perseus.cache.api.CacheManager cm,
             QueryManagerAttribute qma)
Method Detail

evictAllCompiledQueriesFromCache

public void evictAllCompiledQueriesFromCache()
Description copied from interface: QueryMBean
Evicts all entries from the compiled query cache.

Specified by:
evictAllCompiledQueriesFromCache in interface QueryMBean

getCompiledQueryCache_AutoCleanSize

public java.lang.String getCompiledQueryCache_AutoCleanSize()
Specified by:
getCompiledQueryCache_AutoCleanSize in interface QueryMBean

getCompiledQueryCache_AutoCleanThreshold

public java.lang.String getCompiledQueryCache_AutoCleanThreshold()
Specified by:
getCompiledQueryCache_AutoCleanThreshold in interface QueryMBean

getCompiledQueryCache_ObjectIdentifiers

public java.util.Collection getCompiledQueryCache_ObjectIdentifiers()
Specified by:
getCompiledQueryCache_ObjectIdentifiers in interface QueryMBean

getCompiledQueryCache_CurrentSize

public int getCompiledQueryCache_CurrentSize()
Specified by:
getCompiledQueryCache_CurrentSize in interface QueryMBean

getCompiledQueryCache_MaxObjects

public int getCompiledQueryCache_MaxObjects()
Specified by:
getCompiledQueryCache_MaxObjects in interface QueryMBean

setCompiledQueryCache_AutoCleanSize

public void setCompiledQueryCache_AutoCleanSize(java.lang.String size)
Specified by:
setCompiledQueryCache_AutoCleanSize in interface QueryMBean

setCompiledQueryCache_AutoCleanThreshold

public void setCompiledQueryCache_AutoCleanThreshold(java.lang.String size)
Specified by:
setCompiledQueryCache_AutoCleanThreshold in interface QueryMBean

setCompiledQueryCache_MaxObjects

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

getPrefetchActivatedOnExtent

public boolean getPrefetchActivatedOnExtent()
Description copied from interface: QueryManagerAttribute
Indicates of the prefetching mode on extent

Specified by:
getPrefetchActivatedOnExtent in interface QueryManagerAttribute

getPrefetchActivatedOnQuery

public boolean getPrefetchActivatedOnQuery()
Description copied from interface: QueryManagerAttribute
Indicates of the prefetching mode on query

Specified by:
getPrefetchActivatedOnQuery in interface QueryManagerAttribute

setPrefetchActivatedOnExtent

public void setPrefetchActivatedOnExtent(boolean prefetch)
Description copied from interface: QueryManagerAttribute
Assignes of the prefetching mode on extent

Specified by:
setPrefetchActivatedOnExtent in interface QueryManagerAttribute

setPrefetchActivatedOnQuery

public void setPrefetchActivatedOnQuery(boolean prefetch)
Description copied from interface: QueryManagerAttribute
Assignes of the prefetching mode on query

Specified by:
setPrefetchActivatedOnQuery in interface QueryManagerAttribute