public static Set<String> getAsyncEventQueueIds(InternalCache cache, DistributedMember member) {
    SystemManagementService managementService =
        (SystemManagementService) ManagementService.getExistingManagementService(cache);
    return managementService.getAsyncEventQueueMBeanNames(member).stream()
        .map(x -> x.getKeyProperty("queue")).collect(Collectors.toSet());
  }
This class contains utility methods used by classes used to build the Command Line Interface
(CLI).

@since GemFire 7.0
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/CliUtils.java