LogListener (String pipeName) { LogListenerImpl cached = myPipeName2LogListener.get(pipeName); if (cached != null && !cached.isClosed()) { return cached; } LogListenerImpl result = new LogListenerImpl(myLogManager.addAdditionalLog(pipeName)); myPipeName2LogListener.put(pipeName, result); return result; }