Uses of Class
org.apache.cassandra.exceptions.UnavailableException
-
-
Uses of UnavailableException in org.apache.cassandra.exceptions
Methods in org.apache.cassandra.exceptions that return UnavailableException Modifier and Type Method Description static UnavailableExceptionUnavailableException. create(ConsistencyLevel consistency, int required, int alive)static UnavailableExceptionUnavailableException. create(ConsistencyLevel consistency, int required, int requiredFull, int alive, int aliveFull)static UnavailableExceptionUnavailableException. create(ConsistencyLevel consistency, java.lang.String dc, int required, int requiredFull, int alive, int aliveFull) -
Uses of UnavailableException in org.apache.cassandra.locator
Methods in org.apache.cassandra.locator that throw UnavailableException Modifier and Type Method Description static ReplicaPlan.ForWriteReplicaPlans. forBatchlogWrite(boolean isAny)Requires that the provided endpoints are alive.static ReplicaPlan.ForPaxosWriteReplicaPlans. forPaxos(Keyspace keyspace, DecoratedKey key, ConsistencyLevel consistencyForPaxos)Construct the plan for a paxos round - NOT the write or read consistency level for either the write or comparison, but for the paxos linearisation agreement.static ReplicaPlan.ForWriteReplicaPlans. forReadRepair(Token token, ReplicaPlan<?,?> readPlan)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, Token token, ReplicaPlans.Selector selector)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, EndpointsForToken natural, EndpointsForToken pending, java.util.function.Predicate<Replica> isAlive, ReplicaPlans.Selector selector)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaLayout.ForTokenWrite liveAndDown, ReplicaLayout.ForTokenWrite live, ReplicaPlans.Selector selector)static ReplicaPlan.ForWriteReplicaPlans. forWrite(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaLayout.ForTokenWrite liveAndDown, ReplicaPlans.Selector selector) -
Uses of UnavailableException in org.apache.cassandra.service
Methods in org.apache.cassandra.service that throw UnavailableException Modifier and Type Method Description static AbstractWriteResponseHandler<IMutation>StorageProxy. applyCounterMutationOnCoordinator(CounterMutation cm, java.lang.String localDataCenter, Dispatcher.RequestTime requestTime)static AbstractWriteResponseHandler<IMutation>StorageProxy. applyCounterMutationOnLeader(CounterMutation cm, java.lang.String localDataCenter, java.lang.Runnable callback, Dispatcher.RequestTime requestTime)static RowIteratorStorageProxy. cas(java.lang.String keyspaceName, java.lang.String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState clientState, int nowInSeconds, Dispatcher.RequestTime requestTime)Apply @param updates if and only if the current values in the row for @param key match the provided @param conditions.static RowIteratorStorageProxy. legacyCas(java.lang.String keyspaceName, java.lang.String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState clientState, int nowInSeconds, Dispatcher.RequestTime requestTime)static voidStorageProxy. mutate(java.util.List<? extends IMutation> mutations, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)Use this method to have these Mutations applied across all replicas.static voidStorageProxy. mutateAtomically(java.util.Collection<Mutation> mutations, ConsistencyLevel consistency_level, boolean requireQuorumForRemove, Dispatcher.RequestTime requestTime)See mutate.static AbstractWriteResponseHandler<IMutation>StorageProxy. mutateCounter(CounterMutation cm, java.lang.String localDataCenter, Dispatcher.RequestTime requestTime)Handle counter mutation on the coordinator host.static voidStorageProxy. mutateMV(java.nio.ByteBuffer dataKey, java.util.Collection<Mutation> mutations, boolean writeCommitLog, java.util.concurrent.atomic.AtomicLong baseComplete, Dispatcher.RequestTime requestTime)Use this method to have these Mutations applied across all replicas.static voidStorageProxy. mutateWithTriggers(java.util.List<? extends IMutation> mutations, ConsistencyLevel consistencyLevel, boolean mutateAtomically, Dispatcher.RequestTime requestTime)static PartitionIteratorStorageProxy. read(SinglePartitionReadCommand.Group group, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)Performs the actual reading of a row out of the StorageService, fetching a specific set of column names from a given column family.static RowIteratorStorageProxy. readOne(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)static voidStorageProxy. truncateBlocking(java.lang.String keyspace, java.lang.String cfname)Performs the truncate operatoin, which effectively deletes all data from the column family cfname -
Uses of UnavailableException in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos that throw UnavailableException Modifier and Type Method Description static RowIteratorPaxos. cas(DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForConsensus, ConsistencyLevel consistencyForCommit, ClientState clientState)Apply @param updates if and only if the current values in the row for @param key match the provided @param conditions.static RowIteratorPaxos. cas(DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForConsensus, ConsistencyLevel consistencyForCommit, ClientState clientState, long proposeDeadline, long commitDeadline)static PartitionIteratorPaxos. read(SinglePartitionReadCommand.Group group, ConsistencyLevel consistencyForConsensus, long deadline)static PartitionIteratorPaxos. read(SinglePartitionReadCommand.Group group, ConsistencyLevel consistencyForConsensus, Dispatcher.RequestTime requestTime) -
Uses of UnavailableException in org.apache.cassandra.service.reads
Methods in org.apache.cassandra.service.reads that throw UnavailableException Modifier and Type Method Description static AbstractReadExecutorAbstractReadExecutor. getReadExecutor(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)
-