Class WatchHTTPManager<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>>
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager<T>
-
- io.fabric8.kubernetes.client.dsl.internal.WatchHTTPManager<T,L>
-
- All Implemented Interfaces:
Watch
,Closeable
,AutoCloseable
public class WatchHTTPManager<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>> extends AbstractWatchManager<T>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager
runner
-
-
Constructor Summary
Constructors Constructor Description WatchHTTPManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long connectTimeout)
WatchHTTPManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long connectTimeout, int maxIntervalExponent)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static io.fabric8.kubernetes.api.model.WatchEvent
readWatchEvent(String messageSource)
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager
close, initRunner, runWatch, waitUntilReady
-
-
-
-
Constructor Detail
-
WatchHTTPManager
public WatchHTTPManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long connectTimeout) throws MalformedURLException
- Throws:
MalformedURLException
-
WatchHTTPManager
public WatchHTTPManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long connectTimeout, int maxIntervalExponent) throws MalformedURLException
- Throws:
MalformedURLException
-
-
Method Detail
-
readWatchEvent
protected static io.fabric8.kubernetes.api.model.WatchEvent readWatchEvent(String messageSource)
-
-