added new DiscoveryHeartbeatEvent

This commit is contained in:
Spencer Gibb
2014-12-15 16:04:57 -07:00
parent a4d461aae0
commit 90451ac681

View File

@@ -0,0 +1,20 @@
package org.springframework.cloud.client.discovery;
import org.springframework.context.ApplicationEvent;
/**
* @author Spencer Gibb
*/
public class DiscoveryHeartbeatEvent extends ApplicationEvent {
private final Object value;
public DiscoveryHeartbeatEvent(Object source, Object value) {
super(source);
this.value = value;
}
public Object getValue() {
return value;
}
}