/** * Set whether methods should be cached for greater performance or not, * default is <code>true</code>. * * @param cacheMethods <code>true</code> if methods should be * cached for greater performance, otherwise <code>false</code> * @since 1.8.0 */ public static synchronized void setCacheMethods(final boolean cacheMethods) { CACHE_METHODS = cacheMethods; if (!CACHE_METHODS) { clearCache(); } }
/** * Set whether methods should be cached for greater performance or not, * default is <code>true</code>. * * @param cacheMethods <code>true</code> if methods should be * cached for greater performance, otherwise <code>false</code> * @since 1.8.0 */ public static synchronized void setCacheMethods(final boolean cacheMethods) { CACHE_METHODS = cacheMethods; if (!CACHE_METHODS) { clearCache(); } }
/** * Set whether methods should be cached for greater performance or not, * default is <code>true</code>. * * @param cacheMethods <code>true</code> if methods should be * cached for greater performance, otherwise <code>false</code> * @since 1.8.0 */ public static synchronized void setCacheMethods(boolean cacheMethods) { CACHE_METHODS = cacheMethods; if (!CACHE_METHODS) { clearCache(); } }
/** * Set whether methods should be cached for greater performance or not, * default is <code>true</code>. * * @param cacheMethods <code>true</code> if methods should be * cached for greater performance, otherwise <code>false</code> * @since 1.8.0 */ public static synchronized void setCacheMethods(boolean cacheMethods) { CACHE_METHODS = cacheMethods; if (!CACHE_METHODS) { clearCache(); } }
/** * Set whether methods should be cached for greater performance or not, * default is <code>true</code>. * * @param cacheMethods <code>true</code> if methods should be * cached for greater performance, otherwise <code>false</code> * @since 1.8.0 */ public static synchronized void setCacheMethods(boolean cacheMethods) { CACHE_METHODS = cacheMethods; if (!CACHE_METHODS) { clearCache(); } }
/** * Set whether methods should be cached for greater performance or not, * default is <code>true</code>. * * @param cacheMethods <code>true</code> if methods should be * cached for greater performance, otherwise <code>false</code> * @since 1.8.0 */ public static synchronized void setCacheMethods(final boolean cacheMethods) { CACHE_METHODS = cacheMethods; if (!CACHE_METHODS) { clearCache(); } }