public class ClearRegisteredRegionUseCase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected io.reactivex.disposables.Disposable |
disposable |
protected com.microstrategy.usher.PostExecutionThread |
postExecutionThread |
protected com.microstrategy.usher.ThreadExecutor |
threadExecutor |
| Constructor and Description |
|---|
ClearRegisteredRegionUseCase(com.microstrategy.usher.ThreadExecutor threadExecutor,
com.microstrategy.usher.PostExecutionThread postExecutionThread,
com.microstrategy.usher.RegionCachedRepository googlePlayServiceRegionRepository) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
build() |
<S extends io.reactivex.CompletableObserver & io.reactivex.disposables.Disposable> |
execute(S useCaseDisposable) |
boolean |
isUnsubscribed() |
protected DomainException |
retrieveDomainException(java.lang.Throwable throwable) |
io.reactivex.Completable |
transformError(java.lang.Throwable throwable) |
void |
unsubscribe() |
protected final com.microstrategy.usher.ThreadExecutor threadExecutor
protected final com.microstrategy.usher.PostExecutionThread postExecutionThread
protected io.reactivex.disposables.Disposable disposable
@Inject
public ClearRegisteredRegionUseCase(com.microstrategy.usher.ThreadExecutor threadExecutor,
com.microstrategy.usher.PostExecutionThread postExecutionThread,
com.microstrategy.usher.RegionCachedRepository googlePlayServiceRegionRepository)
public io.reactivex.Completable build()
public <S extends io.reactivex.CompletableObserver & io.reactivex.disposables.Disposable> void execute(S useCaseDisposable)
public io.reactivex.Completable transformError(java.lang.Throwable throwable)
public void unsubscribe()
@Nullable protected DomainException retrieveDomainException(java.lang.Throwable throwable)
public boolean isUnsubscribed()