()
| 128 | } |
| 129 | |
| 130 | private IPersistentMap resetCache() { |
| 131 | rw.writeLock().lock(); |
| 132 | try |
| 133 | { |
| 134 | methodCache = getMethodTable(); |
| 135 | cachedHierarchy = hierarchy.deref(); |
| 136 | return methodCache; |
| 137 | } |
| 138 | finally |
| 139 | { |
| 140 | rw.writeLock().unlock(); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | public IFn getMethod(Object dispatchVal) { |
| 145 | if(cachedHierarchy != hierarchy.deref()) |
no test coverage detected