Package com.marcnuri.yakc.reactivex
Class WatchOnSubscribe<T>
- java.lang.Object
-
- com.marcnuri.yakc.reactivex.WatchOnSubscribe<T>
-
- All Implemented Interfaces:
io.reactivex.disposables.Disposable,io.reactivex.ObservableOnSubscribe<com.marcnuri.yakc.api.WatchEvent<T>>
public class WatchOnSubscribe<T> extends java.lang.Object implements io.reactivex.ObservableOnSubscribe<com.marcnuri.yakc.api.WatchEvent<T>>, io.reactivex.disposables.DisposableCreated by Marc Nuri on 2020-04-13.
-
-
Constructor Summary
Constructors Constructor Description WatchOnSubscribe(java.lang.reflect.Type responseType, okhttp3.Request request, KubernetesClient kubernetesClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()booleanisDisposed()voidsubscribe(io.reactivex.ObservableEmitter<com.marcnuri.yakc.api.WatchEvent<T>> emitter)
-
-
-
Constructor Detail
-
WatchOnSubscribe
public WatchOnSubscribe(java.lang.reflect.Type responseType, okhttp3.Request request, KubernetesClient kubernetesClient) throws com.marcnuri.yakc.api.KubernetesException- Throws:
com.marcnuri.yakc.api.KubernetesException
-
-
Method Detail
-
subscribe
public void subscribe(io.reactivex.ObservableEmitter<com.marcnuri.yakc.api.WatchEvent<T>> emitter)
- Specified by:
subscribein interfaceio.reactivex.ObservableOnSubscribe<T>
-
dispose
public void dispose()
- Specified by:
disposein interfaceio.reactivex.disposables.Disposable
-
isDisposed
public boolean isDisposed()
- Specified by:
isDisposedin interfaceio.reactivex.disposables.Disposable
-
-