public class Unavailable extends Error
| Modifier and Type | Class and Description |
|---|---|
static class |
Unavailable.SubCodec |
Error.Codec, Error.SingleMessageSubCodec| Modifier and Type | Field and Description |
|---|---|
int |
alive
The number of replicas that were known to be alive when the request was processed (since an
unavailable exception has been triggered,
alive < required. |
int |
consistencyLevel
The consistency level of the query that triggered the exception.
|
int |
required
The number of nodes that should be alive to respect
consistencyLevel. |
isResponse, opcode| Constructor and Description |
|---|
Unavailable(String message,
int consistencyLevel,
int required,
int alive) |
public final int consistencyLevel
public final int required
consistencyLevel.public final int alive
alive < required.public Unavailable(String message, int consistencyLevel, int required, int alive)
Copyright © 2017–2022. All rights reserved.