public final class ServiceDiscoveryEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceDiscoveryEvent.Type |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEndpointAdded() |
boolean |
isEndpointLeaving() |
boolean |
isEndpointRemoved() |
static ServiceDiscoveryEvent |
newEndpointAdded(ServiceEndpoint serviceEndpoint) |
static ServiceDiscoveryEvent |
newEndpointLeaving(ServiceEndpoint serviceEndpoint) |
static ServiceDiscoveryEvent |
newEndpointRemoved(ServiceEndpoint serviceEndpoint) |
ServiceEndpoint |
serviceEndpoint() |
String |
toString() |
ServiceDiscoveryEvent.Type |
type() |
public static ServiceDiscoveryEvent newEndpointAdded(ServiceEndpoint serviceEndpoint)
public static ServiceDiscoveryEvent newEndpointLeaving(ServiceEndpoint serviceEndpoint)
public static ServiceDiscoveryEvent newEndpointRemoved(ServiceEndpoint serviceEndpoint)
public ServiceDiscoveryEvent.Type type()
public ServiceEndpoint serviceEndpoint()
public boolean isEndpointAdded()
public boolean isEndpointLeaving()
public boolean isEndpointRemoved()
Copyright © 2015–2021. All rights reserved.