|
MXUnit 2.1.3 (Generated: 09/27/2012) | ||||
FRAMES |
WEB-INF.cftags.componentmxunit.framework.RemoteFacadeObjectCache
public class RemoteFacadeObjectCache
Mechanism for managing a cache of objects. This is nice to have since the remote facade runs its tests method-at-a-time. Without a cache, you'd incur all the overhead of constructing the Test object(s) multiple times, which is not ideal.
Method Summary | |
---|---|
numeric |
PurgeSuitePool()
|
string |
endTestRun(string TestRunKey)
ensures proper cleanup |
any |
getObject(String componentName, string TestRunKey)
|
struct |
getSuitePool()
returns the pool struct |
numeric |
getSuitePoolCount()
returns the number of TestRun items in the pool |
struct |
initializeSuitePool()
|
private any |
initializeTestRunCache(string TestRunKey)
|
numeric |
purgeStaleTests([numeric NumMinutes='10'])
cleans up long-running tests |
string |
startTestRun()
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Method Detail |
---|
public numeric PurgeSuitePool()
public string endTestRun(string TestRunKey)
TestRunKey
- the key returned from startTestRun; used for managing the pool of componentspublic any getObject(String componentName, string TestRunKey)
componentName
TestRunKey
- the key returned from startTestRun; used for managing the pool of componentspublic struct getSuitePool()
public numeric getSuitePoolCount()
public struct initializeSuitePool()
private any initializeTestRunCache(string TestRunKey)
TestRunKey
- the key returned from startTestRun; used for managing the pool of componentspublic numeric purgeStaleTests([numeric NumMinutes='10'])
NumMinutes
- Number of minutes a TestRun (which comprises multiple objects potentially) can remain in the cache after its LastAccessed valuepublic string startTestRun()
|
MXUnit 2.1.3 (Generated: 09/27/2012) | ||||
FRAMES |