No effective change - Code cleanup,remove unnecessary public modifier on interfaces

This commit is contained in:
Robin Bygrave committed 2015-07-31 13:16:36 +12:00
1 parent f78c217d83
commit 6843c72149
20 files changed
+110 -110

No files matched your search

@@ -7,38 +7,38 @@ public interface MAdminAutofetchMBean {
/**
* Return true if profiling is enabled.
*/
public boolean isProfiling();
boolean isProfiling();
/**
* Set to true to enable profiling.
*/
public void setProfiling(boolean enable);
void setProfiling(boolean enable);
/**
* Return true if autoFetch is enabled.
*/
public boolean isQueryTuning();
boolean isQueryTuning();
/**
* Set to true to enable autoFetch.
*/
public void setQueryTuning(boolean enable);
void setQueryTuning(boolean enable);
/**
* This controls whether autoFetch is used when it has not
* been explicitly set on a query via {@link Query#setAutofetch(boolean)}.
*/
public String getMode();
String getMode();
/**
* List of the valid implicit modes that can be used.
*/
public String getModeOptions();
String getModeOptions();
/**
* Set the auto fetch mode used when a query has not had {@link Query#setAutofetch(boolean)}.
*/
public void setMode(String mode);
void setMode(String mode);
/**
* Return the max number of queries profiled (per query point).
@@ -47,7 +47,7 @@ public interface MAdminAutofetchMBean {
* point has profiled this number of queries it does not profile any more.
* </p>
*/
public int getProfilingBase();
int getProfilingBase();
/**
* Set a max number of queries to profile per query point.
@@ -56,20 +56,20 @@ public interface MAdminAutofetchMBean {
* is required for this query point.
* </p>
*/
public void setProfilingBase(int profilingMaxThreshold);
void setProfilingBase(int profilingMaxThreshold);
/**
* Returns the rate which profiling is collected.
* This is an int between 0 and 100.
*/
public double getProfilingRate();
double getProfilingRate();
/**
* Set the rate at which profiling is collected after the base.
*
* @param rate a int between 0 and 100.
*/
public void setProfilingRate(double rate);
void setProfilingRate(double rate);
/**
* Return the minimum number of queries profiled before autoFetch will start
@@ -79,7 +79,7 @@ public interface MAdminAutofetchMBean {
* profiling information is collected.
* </p>
*/
public int getProfilingMin();
int getProfilingMin();
/**
* Set the minimum number of queries profiled per query point before
@@ -89,13 +89,13 @@ public interface MAdminAutofetchMBean {
* autoFetch starts tuning the query.
* </p>
*/
public void setProfilingMin(int autoFetchMinThreshold);
void setProfilingMin(int autoFetchMinThreshold);
/**
* Fire a garbage collection (hint to the JVM). Assuming garbage collection
* fires this will gather the usage profiling information.
*/
public String collectUsageViaGC();
String collectUsageViaGC();
/**
* This will take the current profiling information and update the "tuned query
@@ -104,7 +104,7 @@ public interface MAdminAutofetchMBean {
* This is done periodically and can also be manually invoked.
* </p>
*/
public String updateTunedQueryInfo();
String updateTunedQueryInfo();
/**
* Clear all the tuned query info.
@@ -113,7 +113,7 @@ public interface MAdminAutofetchMBean {
* </p>
* @return the amount of tuned query information cleared.
*/
public int clearTunedQueryInfo();
int clearTunedQueryInfo();
/**
* Clear all the profiling information.
@@ -125,21 +125,21 @@ public interface MAdminAutofetchMBean {
* </p>
* @return the amount of profiled information cleared.
*/
public int clearProfilingInfo();
int clearProfilingInfo();
/**
* Return the number of queries tuned by AutoFetch.
*/
public int getTotalTunedQueryCount();
int getTotalTunedQueryCount();
/**
* Return the size of the TuneQuery map.
*/
public int getTotalTunedQuerySize();
int getTotalTunedQuerySize();
/**
* Return the size of the profile map.
*/
public int getTotalProfileSize();
int getTotalProfileSize();
}