Uses of Class
org.apache.cassandra.exceptions.UnavailableException
Packages that use UnavailableException
Package
Description
-
Uses of UnavailableException in org.apache.cassandra.exceptions
Methods in org.apache.cassandra.exceptions that return UnavailableExceptionModifier and TypeMethodDescriptionstatic 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, 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 UnavailableExceptionModifier and TypeMethodDescriptionstatic 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, 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 UnavailableExceptionModifier and TypeMethodDescriptionStorageProxy.applyCounterMutationOnCoordinator(CounterMutation cm, String localDataCenter, Dispatcher.RequestTime requestTime) StorageProxy.applyCounterMutationOnLeader(CounterMutation cm, String localDataCenter, Runnable callback, Dispatcher.RequestTime requestTime) static RowIteratorStorageProxy.cas(String keyspaceName, String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState clientState, long 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(String keyspaceName, String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState clientState, long nowInSeconds, Dispatcher.RequestTime requestTime) static voidStorageProxy.mutate(List<? extends IMutation> mutations, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime) Use this method to have these Mutations applied across all replicas.static voidStorageProxy.mutateAtomically(Collection<Mutation> mutations, ConsistencyLevel consistency_level, boolean requireQuorumForRemove, Dispatcher.RequestTime requestTime) See mutate.StorageProxy.mutateCounter(CounterMutation cm, String localDataCenter, Dispatcher.RequestTime requestTime) Handle counter mutation on the coordinator host.static voidStorageProxy.mutateMV(ByteBuffer dataKey, Collection<Mutation> mutations, boolean writeCommitLog, AtomicLong baseComplete, Dispatcher.RequestTime requestTime) Use this method to have these Mutations applied across all replicas.static voidStorageProxy.mutateWithTriggers(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(String keyspace, 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 UnavailableExceptionModifier and TypeMethodDescriptionstatic 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 UnavailableExceptionModifier and TypeMethodDescriptionstatic AbstractReadExecutorAbstractReadExecutor.getReadExecutor(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel, Dispatcher.RequestTime requestTime)