Class Overview
Static control of whether things are cached or not. We had problems in webwork
where strings such as "com.atlassian.jira.ViewIssue@34128" would be cached as
webwork EL. Profiling has revealed that out of 2000ms of stack.findValue() calls,
then only 18ms of that was parsing the EL strings. So you can choose to not
cache them.
This class is a weasel class so that I can externalise the putting to the static cache
or not. If we run with this as off for longer enough you can do away with this
and make Query not cache anything.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
WebworkCacheControl
()
Public Methods
public
static
boolean
isCacheQueries
()
public
static
boolean
isCacheSimpleTests
()
public
static
void
setCacheQueries
(boolean cacheQueries)
public
static
void
setCacheSimpleTests
(boolean cacheSimpleTests)