Class WarningsSnapshot
java.lang.Object
org.apache.cassandra.service.reads.thresholds.WarningsSnapshot
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic WarningsSnapshotcreate(WarningsSnapshot.Warnings tombstones, WarningsSnapshot.Warnings localReadSize, WarningsSnapshot.Warnings rowIndexTooLarge, WarningsSnapshot.Warnings indexReadSSTablesCount) static WarningsSnapshotempty()booleaninthashCode()booleanbooleanisEmpty()static StringlocalReadSizeAbortMessage(int nodes, long bytes, String cql) static StringlocalReadSizeWarnMessage(int nodes, long bytes, String cql) voidmaybeAbort(ReadCommand command, ConsistencyLevel cl, int received, int blockFor, boolean isDataPresent, Map<InetAddressAndPort, RequestFailureReason> failureReasonByEndpoint) static WarningsSnapshotmerge(WarningsSnapshot... values) static StringrowIndexReadSizeAbortMessage(int nodes, long bytes, String cql) static StringrowIndexSizeWarnMessage(int nodes, long bytes, String cql) static StringtombstoneAbortMessage(int nodes, long tombstones, String cql) static StringtombstoneWarnMessage(int nodes, long tombstones, String cql) static StringtooManyIndexesReadAbortMessage(int nodes, long value, String cql) static StringtooManyIndexesReadWarnMessage(int nodes, long value, String cql) toString()
-
Field Details
-
tombstones
-
localReadSize
-
rowIndexReadSize
-
indexReadSSTablesCount
-
-
Method Details
-
empty
-
create
public static WarningsSnapshot create(WarningsSnapshot.Warnings tombstones, WarningsSnapshot.Warnings localReadSize, WarningsSnapshot.Warnings rowIndexTooLarge, WarningsSnapshot.Warnings indexReadSSTablesCount) -
merge
-
isEmpty
public boolean isEmpty() -
isDefined
public boolean isDefined() -
maybeAbort
public void maybeAbort(ReadCommand command, ConsistencyLevel cl, int received, int blockFor, boolean isDataPresent, Map<InetAddressAndPort, RequestFailureReason> failureReasonByEndpoint) -
tombstoneAbortMessage
-
tombstoneWarnMessage
-
localReadSizeAbortMessage
-
localReadSizeWarnMessage
-
rowIndexReadSizeAbortMessage
-
rowIndexSizeWarnMessage
-
tooManyIndexesReadWarnMessage
-
tooManyIndexesReadAbortMessage
-
equals
-
hashCode
public int hashCode() -
toString
-