public void reset ( ) { this . poolWriteLock . lock ( ) ; try { this . defaultTracer = TracerFactory . NULLTRACER ; this . threadName2Element . clear ( ) ; this . threadNames . clear ( ) ; this . tracerMap . clear ( ) ; this . tracerPool . clear ( ) ; } finally { this . poolWriteLock . unlock ( ) ; } this . queueWriteLock . lock ( ) ; try { this . queueConfig = new Queue ( ) ; } finally { this . queueWriteLock . unlock ( ) ; } }
Clears the pool the mappings and the queue .