|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminAutofetch
Administrative control of Autofetch during runtime.
Method Summary | |
---|---|
int |
clearProfilingInfo()
Clear all the profiling information. |
void |
clearQueryStatistics()
Clear the query execution statistics. |
int |
clearTunedQueryInfo()
Clear all the tuned query info. |
String |
collectUsageViaGC()
Fire a garbage collection (hint to the JVM). |
int |
getProfilingBase()
Return the number of queries profiled after which profiling is collected at a percentage rate. |
int |
getProfilingMin()
Return the minimum number of queries profiled before autoFetch will start automatically tuning the queries. |
double |
getProfilingRate()
Returns the rate which profiling is collected. |
int |
getTotalProfileSize()
Return the size of the profile map. |
int |
getTotalTunedQueryCount()
Return the number of queries tuned by AutoFetch. |
int |
getTotalTunedQuerySize()
Return the size of the TuneQuery map. |
boolean |
isProfiling()
Return true if profiling is enabled. |
boolean |
isQueryTuning()
Return true if autoFetch automatic query tuning is enabled. |
void |
setProfiling(boolean enable)
Set to true to enable profiling. |
void |
setProfilingBase(int profilingBase)
Set a base number of queries to profile per query point. |
void |
setProfilingMin(int autoFetchMinThreshold)
Set the minimum number of queries profiled per query point before autoFetch will automatically tune the queries. |
void |
setProfilingRate(double rate)
Set the rate at which profiling is collected after the base. |
void |
setQueryTuning(boolean enable)
Set to true to enable autoFetch automatic query tuning. |
String |
updateTunedQueryInfo()
This will take the current profiling information and update the "tuned query detail". |
Method Detail |
---|
boolean isProfiling()
void setProfiling(boolean enable)
boolean isQueryTuning()
void setQueryTuning(boolean enable)
double getProfilingRate()
void setProfilingRate(double rate)
rate
- a int between 0 and 100.int getProfilingBase()
void setProfilingBase(int profilingBase)
After this amount of profiling has been obtained profiling is collected at the Profiling Percentage rate.
int getProfilingMin()
This could be one which means start autoFetch tuning after the first profiling information is collected.
void setProfilingMin(int autoFetchMinThreshold)
Increasing this number will mean more profiling is collected before autoFetch starts tuning the query.
String collectUsageViaGC()
String updateTunedQueryInfo()
This is done periodically and can also be manually invoked.
int clearTunedQueryInfo()
Should only need do this for testing and playing around.
int clearProfilingInfo()
This means the profiling information will need to be re-gathered.
Should only need do this for testing and playing around.
void clearQueryStatistics()
int getTotalTunedQueryCount()
int getTotalTunedQuerySize()
int getTotalProfileSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |