All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.ks.eventstore2.eventstore.SubscriptionRefresh Maven / Gradle / Ivy

package no.ks.eventstore2.eventstore;

import akka.actor.ActorRef;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class SubscriptionRefresh implements Serializable {
	private static final long serialVersionUID = 1L;

	private final String aggregateType;
	private final Set subscribers;

	public SubscriptionRefresh(String aggregateType, Set subscribers) {
		this.aggregateType = aggregateType;
		this.subscribers = new HashSet(subscribers);
	}

	public String getAggregateType() {
		return aggregateType;
	}

	public Set getSubscribers() {
		return subscribers;
	}

	@Override
	public String toString() {
		return "SubscriptionRefresh{"
				+"aggregateType='" + aggregateType + '\''
				+", subscribers=" + subscribers
				+'}';
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy