クラス StreamInfo.XInfoGroups
java.lang.ObjectSE
org.springframework.data.redis.connection.stream.StreamInfo.XInfoGroups
- 実装されたすべてのインターフェース:
IterableSE<StreamInfo.XInfoGroup>
、SupplierSE<StreamSE<StreamInfo.XInfoGroup>>
、Streamable<StreamInfo.XInfoGroup>
- 含まれているクラス:
- StreamInfo
public static class StreamInfo.XInfoGroups
extends ObjectSE
implements Streamable<StreamInfo.XInfoGroup>
Redis ストリームに関連付けられたコンシューマーグループに関する一般情報を保持する値オブジェクト。
- 作成者:
- Christoph Strobl
メソッドのサマリー
修飾子と型メソッド説明void
forEach
(ConsumerSE<? super StreamInfo.XInfoGroup> action) このStreamInfo.XInfoGroups
の使用可能なすべてのStreamInfo.XInfoGroup
に対して指定されたアクションを実行します。static StreamInfo.XInfoGroups
StreamInfo.XInfoGroups
の新しいインスタンスを作成するファクトリメソッド。get
(int index) 指定されたインデックスのStreamInfo.XInfoGroup
要素を返します。int
関連するコンシューマーグループの総数。boolean
isEmpty()
iterator()
StreamInfo.XInfoGroup
要素のイテレータを返します。int
size()
使用可能なStreamInfo.XInfoGroup
の数を返します。stream()
StreamInfo.XInfoGroup
のシーケンシャルStream
を返します。toString()
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース java.lang.IterableSE から継承されたメソッド
spliterator
メソッドの詳細
fromList
StreamInfo.XInfoGroups
の新しいインスタンスを作成するファクトリメソッド。- パラメーター:
source
- 生の値のソース。- 戻り値:
groupCount
public int groupCount()関連するコンシューマーグループの総数。- 戻り値:
- 利用可能なものがない場合はゼロ。
size
public int size()使用可能なStreamInfo.XInfoGroup
の数を返します。- 戻り値:
- 利用可能なものがない場合はゼロ。
- 関連事項:
isEmpty
public boolean isEmpty()- 次で指定:
- インターフェース
Streamable<StreamInfo.XInfoGroup>
のisEmpty
- 戻り値:
- グループが関連付けられていない場合は true。
iterator
StreamInfo.XInfoGroup
要素のイテレータを返します。- 次で指定:
- インターフェース
IterableSE<StreamInfo.XInfoGroup>
のiterator
- 戻り値:
get
指定されたインデックスのStreamInfo.XInfoGroup
要素を返します。- 戻り値:
- 指定された位置にある要素。
- 例外:
IndexOutOfBoundsExceptionSE
- インデックスが範囲外の場合。
stream
StreamInfo.XInfoGroup
のシーケンシャルStream
を返します。- 次で指定:
- インターフェース
Streamable<StreamInfo.XInfoGroup>
のstream
- 戻り値:
forEach
このStreamInfo.XInfoGroups
の使用可能なすべてのStreamInfo.XInfoGroup
に対して指定されたアクションを実行します。- 次で指定:
- インターフェース
IterableSE<StreamInfo.XInfoGroup>
のforEachSE
- パラメーター:
action
-
toString