クラス CassandraReadTimeoutException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.TransientDataAccessException
org.springframework.dao.QueryTimeoutException
org.springframework.data.cassandra.CassandraReadTimeoutException
- 実装されたすべてのインターフェース:
SerializableSE
読み取りクエリ中のサーバー側のタイムアウトに関する Cassandra 固有の例外。
- 作成者:
- Matthew T. Adams, Mark Paluch
- 関連事項:
コンストラクターのサマリー
コンストラクターコンストラクター説明CassandraReadTimeoutException
(boolean wasDataPresent, StringSE msg, ThrowableSE cause) QueryTimeoutException のコンストラクター。メソッドのサマリー
クラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCause
クラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
コンストラクターの詳細
CassandraReadTimeoutException
QueryTimeoutException のコンストラクター。- パラメーター:
wasDataPresent
- 実際のデータが受信したレプリカレスポンスの中にあったかどうか。msg
- 詳細メッセージ。cause
- 使用中のデータアクセス API の根本原因。
メソッドの詳細
getWasDataReceived
使用すべきではありません。3.0 以降、wasDataPresent()
を使用します。- 戻り値:
- 実際のデータが受信したレプリカレスポンスの中にあったかどうか。
wasDataPresent
public boolean wasDataPresent()- 戻り値:
- 実際のデータが受信したレプリカレスポンスの中にあったかどうか。
- 導入:
- 3.0
wasDataPresent()
を使用します。