private final Multimap<String, String> deployments;
public DeploymentStore(final Dispatcher dispatcher) {
deployments = HashMultimap.create();
dispatcher.register(DeploymentStore.class, new StoreCallback() {
@Override
public Agreement voteFor(final Action action) {
Agreement agreement = Agreement.NONE;
if (action instanceof DeployAction || action instanceof UndeployAction || action instanceof StopServerAction) {
agreement = new Agreement(true);