クラス 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
メソッドのサマリー
修飾子と型メソッド説明voidforEach(ConsumerSE<? super StreamInfo.XInfoGroup> action) このStreamInfo.XInfoGroupsの使用可能なすべてのStreamInfo.XInfoGroupに対して指定されたアクションを実行します。static StreamInfo.XInfoGroupsStreamInfo.XInfoGroupsの新しいインスタンスを作成するファクトリメソッド。get(int index) 指定されたインデックスのStreamInfo.XInfoGroup要素を返します。int関連するコンシューマーグループの総数。booleanisEmpty()iterator()StreamInfo.XInfoGroup要素のイテレータを返します。intsize()使用可能な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