public Set<AgentStatus> getAgentStatusSet(Predicate<AgentStatus> predicate) {
		Set<AgentStatus> statusSet = newLinkedHashSet();
		for (Entry<AgentIdentity, AgentStatus> each : m_agentMap.entrySet()) {
			if (predicate.test(each.getValue())) {
				statusSet.add(each.getValue());
			}
		}
		return statusSet;
	}
Get agent identities and status map matching the given predicate.

@param predicate predicate
@return {@link AgentIdentity} {@link AgentStatus} map
@since 3.1.2
ngrinder-core/src/main/java/net/grinder/console/communication/AgentProcessControlImplementation.java