Class RawWatchConnectionManager
java.lang.Object
io.fabric8.kubernetes.client.dsl.internal.RawWatchConnectionManager
- All Implemented Interfaces:
Watch,Closeable,AutoCloseable
public class RawWatchConnectionManager extends Object implements Watch
This class just replicates WatchConnectionManager in handling watch connections but
instead of using a solid type for deserializing events, it uses plain strings.
-
Constructor Summary
Constructors Constructor Description RawWatchConnectionManager(okhttp3.OkHttpClient okHttpClient, okhttp3.HttpUrl.Builder watchUrlBuilder, io.fabric8.kubernetes.api.model.ListOptions listOptions, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Watcher<String> watcher, int reconnectLimit, int reconnectInterval, int maxIntervalExponent) -
Method Summary
Modifier and Type Method Description voidclose()Close the Watch.voidwaitUntilReady()
-
Constructor Details
-
RawWatchConnectionManager
public RawWatchConnectionManager(okhttp3.OkHttpClient okHttpClient, okhttp3.HttpUrl.Builder watchUrlBuilder, io.fabric8.kubernetes.api.model.ListOptions listOptions, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Watcher<String> watcher, int reconnectLimit, int reconnectInterval, int maxIntervalExponent)
-
-
Method Details
-
waitUntilReady
public void waitUntilReady() -
close
public void close()Description copied from interface:WatchClose the Watch.
-