クラス StreamInfo.XInfoConsumers
java.lang.ObjectSE
org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumers
- 実装済みのインターフェース一覧:
IterableSE<StreamInfo.XInfoConsumer>, SupplierSE<StreamSE<StreamInfo.XInfoConsumer>>, Streamable<StreamInfo.XInfoConsumer>
- 含まれているクラス:
StreamInfo
public static class StreamInfo.XInfoConsumers
extends ObjectSE
implements Streamable<StreamInfo.XInfoConsumer>
- 導入:
- 2.3
- 作成者:
- Christoph Strobl, Mark Paluch
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voidforEach(ConsumerSE<? super StreamInfo.XInfoConsumer> action) このStreamInfo.XInfoConsumersの使用可能なすべてのStreamInfo.XInfoConsumerに対して指定されたアクションを実行します。static StreamInfo.XInfoConsumersget(int index) 指定されたインデックスのStreamInfo.XInfoConsumer要素を返します。intコンシューマーグループ内のコンシューマーの総数。booleanisEmpty()iterator()StreamInfo.XInfoConsumer要素のイテレータを返します。intsize()使用可能なStreamInfo.XInfoConsumerの数を返します。stream()StreamInfo.XInfoConsumerのシーケンシャルStreamを返します。toString()クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース IterableSE から継承されたメソッド
spliterator
コンストラクターの詳細
XInfoConsumers
方法の詳細
fromList
getConsumerCount
public int getConsumerCount()コンシューマーグループ内のコンシューマーの総数。- 戻り値:
- 利用可能なものがない場合はゼロ。
size
isEmpty
public boolean isEmpty()- 次で指定:
- インターフェース
Streamable<StreamInfo.XInfoConsumer>内のisEmpty - 戻り値:
- グループが関連付けられていない場合は true。
iterator
StreamInfo.XInfoConsumer要素のイテレータを返します。- 次で指定:
- インターフェース
IterableSE<StreamInfo.XInfoConsumer>内のiterator - 戻り値:
get
指定されたインデックスのStreamInfo.XInfoConsumer要素を返します。- 戻り値:
- 指定された位置にある要素。
- 例外:
IndexOutOfBoundsExceptionSE- インデックスが範囲外の場合。
stream
StreamInfo.XInfoConsumerのシーケンシャルStreamを返します。- 次で指定:
- インターフェース
Streamable<StreamInfo.XInfoConsumer>内のstream - 戻り値:
forEach
このStreamInfo.XInfoConsumersの使用可能なすべてのStreamInfo.XInfoConsumerに対して指定されたアクションを実行します。- 次で指定:
- インターフェース
IterableSE<StreamInfo.XInfoConsumer>内のforEachSE - パラメーター:
action-
toString