public abstract class AbstractWatchManager<T extends io.fabric8.kubernetes.api.model.HasMetadata> extends Object implements Watch
Modifier and Type | Field and Description |
---|---|
protected HttpClient |
client |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Watch.
|
protected abstract void |
closeRequest() |
protected void |
onMessage(String message) |
protected boolean |
onStatus(io.fabric8.kubernetes.api.model.Status status) |
protected io.fabric8.kubernetes.api.model.WatchEvent |
readWatchEvent(String messageSource) |
protected abstract void |
run(URL url,
Map<String,String> headers) |
protected void |
runWatch() |
protected final HttpClient client
protected abstract void closeRequest()
protected void runWatch()
public void close()
Watch
protected io.fabric8.kubernetes.api.model.WatchEvent readWatchEvent(String messageSource) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
protected void onMessage(String message)
protected boolean onStatus(io.fabric8.kubernetes.api.model.Status status)
Copyright © 2015–2022 Red Hat. All rights reserved.