class HeartbeatProvidedClients implements ClientIdentifications {

    @Nonnull
    @Override
    public Iterator<ClientStreamIdentification> iterator() {
        return stream(clients.spliterator(), false)
                .filter(this::supportHeartbeat)
                .iterator();
    }

    @Autowired public  HeartbeatProvidedClients(ClientIdentifications allClients, ClientVersionsCache versionsCache);
    public  HeartbeatProvidedClients(ClientIdentifications allClients,
                                    Function<ClientStreamIdentification, Version> versionSupplier);

}