Class WatchConnectionManager<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.WatchConnectionManager<T,L>
- All Implemented Interfaces:
Watch,Closeable,AutoCloseable
public class WatchConnectionManager<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>> extends Object implements Watch
-
Constructor Summary
Constructors Constructor Description WatchConnectionManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long websocketTimeout)WatchConnectionManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long websocketTimeout, int maxIntervalExponent) -
Method Summary
Modifier and Type Method Description voidclose()Close the Watch.voidwaitUntilReady()
-
Constructor Details
-
WatchConnectionManager
public WatchConnectionManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long websocketTimeout, int maxIntervalExponent) throws MalformedURLException- Throws:
MalformedURLException
-
WatchConnectionManager
public WatchConnectionManager(okhttp3.OkHttpClient client, BaseOperation<T,L,?,?> baseOperation, io.fabric8.kubernetes.api.model.ListOptions listOptions, Watcher<T> watcher, int reconnectInterval, int reconnectLimit, long websocketTimeout) throws MalformedURLException- Throws:
MalformedURLException
-
-
Method Details
-
waitUntilReady
public void waitUntilReady() -
close
public void close()Description copied from interface:WatchClose the Watch.
-