public interface MethodResourceManager
Modifier and Type | Interface and Description |
---|---|
static class |
MethodResourceManager.MethodStatistics
Helper class to carry basic method call statistics.
|
Modifier and Type | Method and Description |
---|---|
void |
manageResources(Map<Method,MethodResourceManager.MethodStatistics> methodStatsByMethod,
long transactionElapsedTimeNs,
Method currentMethod)
Check and free any required resources for an imminent.
|
void manageResources(Map<Method,MethodResourceManager.MethodStatistics> methodStatsByMethod, long transactionElapsedTimeNs, Method currentMethod)
methodStatsByMethod
- all known methods and their basic call statstransactionElapsedTimeNs
- the elapsed time in the current transactioncurrentMethod
- the method about to be calledCopyright © 2005–2017 Alfresco Software. All rights reserved.