public static Map<String, Integer> getListenerMapTask() throws Exception {
    return instance.listnerMap;
  }
Written to test fix for Bug #47132
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/InterestRegrListenerDUnitTest.java