mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-17 16:56:15 +10:00
[강운덕] [LUCYSUS-1744] mysql interceptor 추가, testcase작성이 가능한 testclassloader 추가.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@569 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -9,8 +9,6 @@ public class InterceptorRegistry {
|
||||
|
||||
private final AtomicInteger id = new AtomicInteger(0);
|
||||
private final Interceptor[] index;
|
||||
// private final ConcurrentMap<String, List<Integer>> nameToIndex = new
|
||||
// ConcurrentHashMap<String, List<Integer>>();
|
||||
|
||||
public static final InterceptorRegistry REGISTRY = new InterceptorRegistry();
|
||||
|
||||
@@ -23,6 +21,7 @@ public class InterceptorRegistry {
|
||||
this.index = new Interceptor[max];
|
||||
}
|
||||
|
||||
|
||||
int addInterceptor0(Interceptor interceptor) {
|
||||
if (interceptor == null) {
|
||||
return -1;
|
||||
@@ -47,4 +46,5 @@ public class InterceptorRegistry {
|
||||
public static Interceptor getInterceptor(int key) {
|
||||
return REGISTRY.getInterceptor0(key);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user