class StandaloneHerder extends AbstractHerder {

    @Override
    public synchronized void restartConnector(String connName, Callback<Void> cb) {
        if (!configState.contains(connName))
            cb.onCompletion(new NotFoundException("Connector " + connName + " not found", null), null);

        Map<String, String> config = configState.connectorConfig(connName);
        try {
            worker.stopConnector(connName);
            startConnector(config);
            cb.onCompletion(null, null);
        } catch (Exception e) {
            log.error("Failed to restart connector {}", connName, e);
            cb.onCompletion(e, null);
        }
    }

    public  StandaloneHerder(Worker worker);
      StandaloneHerder(Worker worker,
                     String workerId,
                     StatusBackingStore statusBackingStore,
                     MemoryConfigBackingStore configBackingStore);

}