Tabnine Logo
AsyncSubject.observeOn
Code IndexAdd Tabnine to your IDE (free)

How to use
observeOn
method
in
rx.subjects.AsyncSubject

Best Java code snippets using rx.subjects.AsyncSubject.observeOn (Showing top 12 results out of 315)

origin: greenaddress/GreenBits

.observeOn(stateController.rxScheduler())
.subscribe(new Action1<Long>() {
  @Override
origin: ws.wamp.jawampa/jawampa-core

.observeOn(stateController.rxScheduler())
.subscribe(new Action1<Long>() {
  @Override
origin: greenaddress/GreenBits

.observeOn(stateController.rxScheduler())
.subscribe(new Action1<Long>() {
  @Override
origin: ws.wamp.jawampa/jawampa-core

.observeOn(stateController.rxScheduler())
.subscribe(new Action1<Long>() {
  @Override
origin: greenaddress/GreenBits

.observeOn(stateController.rxScheduler())
.subscribe(new Action1<Long>() {
  @Override
origin: greenaddress/GreenBits

.observeOn(stateController.rxScheduler())
.subscribe(new Action1<Long>() {
  @Override
origin: couchbase/couchbase-jvm-core

/**
 * Creates a {@link ViewQueryResponse} from its request based on the returned info.
 *
 * Note that observables are attached to this response which are completed later in the response cycle.
 *
 * @return the initial response.
 */
private CouchbaseResponse handleViewQueryResponse() {
  int code = responseHeader.getStatus().code();
  String phrase = responseHeader.getStatus().reasonPhrase();
  ResponseStatus status = ResponseStatusConverter.fromHttp(responseHeader.getStatus().code());
  Scheduler scheduler = env().scheduler();
  long ttl = env().autoreleaseAfter();
  viewRowObservable = UnicastAutoReleaseSubject.create(ttl, TimeUnit.MILLISECONDS, scheduler);
  viewInfoObservable = UnicastAutoReleaseSubject.create(ttl, TimeUnit.MILLISECONDS, scheduler);
  viewErrorObservable = AsyncSubject.create();
  //set up trace ids on all these UnicastAutoReleaseSubjects, so that if they get in a bad state
  // (multiple subscribers or subscriber coming in too late) we can trace back to here
  viewRowObservable.withTraceIdentifier("viewRow");
  viewInfoObservable.withTraceIdentifier("viewInfo");
  return new ViewQueryResponse(
    viewRowObservable.onBackpressureBuffer().observeOn(scheduler),
    viewInfoObservable.onBackpressureBuffer().observeOn(scheduler),
    viewErrorObservable.observeOn(scheduler),
    code,
    phrase,
    status,
    currentRequest()
  );
}
origin: com.couchbase.client/core-io

/**
 * Creates a {@link ViewQueryResponse} from its request based on the returned info.
 *
 * Note that observables are attached to this response which are completed later in the response cycle.
 *
 * @return the initial response.
 */
private CouchbaseResponse handleViewQueryResponse() {
  int code = responseHeader.getStatus().code();
  String phrase = responseHeader.getStatus().reasonPhrase();
  ResponseStatus status = ResponseStatusConverter.fromHttp(responseHeader.getStatus().code());
  Scheduler scheduler = env().scheduler();
  long ttl = env().autoreleaseAfter();
  viewRowObservable = UnicastAutoReleaseSubject.create(ttl, TimeUnit.MILLISECONDS, scheduler);
  viewInfoObservable = UnicastAutoReleaseSubject.create(ttl, TimeUnit.MILLISECONDS, scheduler);
  viewErrorObservable = AsyncSubject.create();
  //set up trace ids on all these UnicastAutoReleaseSubjects, so that if they get in a bad state
  // (multiple subscribers or subscriber coming in too late) we can trace back to here
  viewRowObservable.withTraceIdentifier("viewRow");
  viewInfoObservable.withTraceIdentifier("viewInfo");
  return new ViewQueryResponse(
    viewRowObservable.onBackpressureBuffer().observeOn(scheduler),
    viewInfoObservable.onBackpressureBuffer().observeOn(scheduler),
    viewErrorObservable.observeOn(scheduler),
    code,
    phrase,
    status,
    currentRequest()
  );
}
origin: com.couchbase.client/core-io

queryRowObservable.observeOn(scheduler);
querySignatureObservable.observeOn(scheduler);
queryStatusObservable.observeOn(scheduler);
queryInfoObservable.observeOn(scheduler);
origin: com.couchbase.client/core-io

queryRowObservable.observeOn(scheduler);
querySignatureObservable.observeOn(scheduler);
queryStatusObservable.observeOn(scheduler);
queryInfoObservable.observeOn(scheduler);
origin: couchbase/couchbase-jvm-core

queryRowObservable.observeOn(scheduler);
querySignatureObservable.observeOn(scheduler);
queryStatusObservable.observeOn(scheduler);
queryInfoObservable.observeOn(scheduler);
origin: couchbase/couchbase-jvm-core

queryRowObservable.observeOn(scheduler);
querySignatureObservable.observeOn(scheduler);
queryStatusObservable.observeOn(scheduler);
queryInfoObservable.observeOn(scheduler);
rx.subjectsAsyncSubjectobserveOn

Popular methods of AsyncSubject

  • create
    Creates and returns a new AsyncSubject.
  • onCompleted
  • onNext
  • onError
  • subscribe
  • <init>
  • asObservable
  • doOnUnsubscribe
  • onBackpressureBuffer

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now