public class EtcdDynamicConfiguration.EtcdConfigWatcher extends Object implements io.grpc.stub.StreamObserver<io.etcd.jetcd.api.WatchResponse>
| Constructor and Description |
|---|
EtcdConfigWatcher(String key,
String group,
ConfigurationListener listener) |
| Modifier and Type | Method and Description |
|---|---|
long |
getWatchId() |
void |
onCompleted() |
void |
onError(Throwable throwable) |
void |
onNext(io.etcd.jetcd.api.WatchResponse watchResponse) |
public EtcdConfigWatcher(String key, String group, ConfigurationListener listener)
public void onNext(io.etcd.jetcd.api.WatchResponse watchResponse)
onNext in interface io.grpc.stub.StreamObserver<io.etcd.jetcd.api.WatchResponse>public void onError(Throwable throwable)
onError in interface io.grpc.stub.StreamObserver<io.etcd.jetcd.api.WatchResponse>public void onCompleted()
onCompleted in interface io.grpc.stub.StreamObserver<io.etcd.jetcd.api.WatchResponse>public long getWatchId()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.