___  ___    _ _    _  _ _____   _____
 / __|/ _ \  | | |  | || |_ _\ \ / / __|
| (_ | (_) | |_  _| | __ || | \ V /| _|
 \___|\___/    |_|  |_||_|___| \_/ |___|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

【Programming】RxJava リアクティブプログラミング vol.3 / RxJavaの構成~前編~

BY: @promari | CREATED: April 2, 2019, 8:21 p.m. | VOTES: 597 | PAYOUT: $26.34 | [ VOTE ]

[IMAGE: https://cdn.steemitimages.com/DQmfCQZTcVKXhN4fByhZqnKudpkJtK4SxwEHGqWfZbKm9Ni/o1AJ9qDyyJNSpZWhUgGYc3MngFqoAMxopALi6Zh4C8ck3F7cr.png]

前回はRxJavaの概要についてまとめました(記事はこちら)。今回はRxJavaの構成をまとめてみます。

1.4 RxJavaの構成

1.4.1 Flowable/Observable

[IMAGE: https://img.esteem.ws/6hc412jg7i.png]

Source:RxJavaリアクティブプログラミング

1.4.2 Subscriber/Observer

1.4.3 Subscription

public interface Subscription {
    public void request(long n);
    public void cancel();
}

1.4.4 Disposable

public interface Disposable {
    void dispose();
    boolean isDisposed();
}

1.4.5 FlowableProcessor/Subject

種類 説明 PublishProcessor/PublishSubject データを受け取ったタイミングでしか消費者(Subscriber/Observer)にデータを通知しないProcessor/Subject BehaviorProcessor/BehaviorSubject 消費者を購読した直前のデータをバッファし、そのデータから通知するProcessor/Subject ReplayProcessor/ReplaySubject 受け取った全てのデータを途中から登録した消費者にも通知するProcessor/Subject AsyncProcessor/AsyncSubject データの生成が完了した際に最後に受け取ったデータしか消費者に通知しないProcessor/Subject UnicastProcessor/UnicastSubject 1つの消費者からしか購読されないProcessor/Subject

1.4.6 DisposableSubscriber/DisposableObserver

[IMAGE: https://img.esteem.ws/9b42rspyh3.png]

Source:RxJavaリアクティブプログラミング

1.4.7 ResourceSubscriber/ResourceObserver

[IMAGE: https://img.esteem.ws/k83aze4nv5.png]

Source:RxJavaリアクティブプログラミング

次回は「【Programming】RxJava リアクティブプログラミング vol.3 / RxJavaの構成~後編~」についてまとめてみます。

[IMAGE: https://img.esteem.ws/t0r78hqbeu.png]
written by tamito0201

プログラミングとのご縁結びならプロマリへ。

オンラインプログラミング学習スクールのプロマリは、プログラミングの初学者の皆様を応援しています。プログラミング講師と一緒に面白いアプリを作りませんか。

[IMAGE: https://img.esteem.ws/btpb5hmlur.png]

The programming school "Promari" will help you learn programming. "Promari" is supporting the first scholars of programming. Let's develop an application with our programming instructor.

TAGS: [ #promari ] [ #programming ] [ #japanese ] [ #blog ] [ #java ]

Replies

@samidul | April 3, 2019, 1:54 a.m. | Votes: 0 | [ VOTE ]

Wow nic...

@steemitboard | April 3, 2019, 4:06 a.m. | Votes: 0 | [ VOTE ]

Congratulations @promari! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

https://steemitimages.com/60x70/http://steemitboard.com/@promari/voted.png?201904030317You received more than 10000 upvotes. Your next target is to reach 15000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Vote for @Steemitboard as a witness to get one more award and increased upvotes!
@itripvenezuela | April 3, 2019, 3 p.m. | Votes: 0 | [ VOTE ]

Great

Posted using Partiko Android

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>