public void updateDependency(DependencyAttribute dependencyAttribute) { Client client = getClient(); synchronized (client) { if (!client.isDone()) { queuedMeemProxy.updateDependency(dependencyAttribute); return; } } doUpdateDependency(meem, dependencyAttribute); }
private synchronized void doUpdateDependency(Meem meem, DependencyAttribute dependencyAttribute) { meem.updateDependency(dependencyAttribute); }