All Classes and Interfaces
Class
Description
Represents a cell in the key-value store.
Indicates whether a
KeyValueService
supports check and set (CAS) and put unless exists (PUE) operations, and
if so the granularity with which it can provide feedback.A request to be supplied to KeyValueService.checkAndSet.
A
Cleaner
is good for two things: it scrubs and it punches.A
CoordinationService
is used to agree on values being relevant or correct at a given timestamp.Key-Value API to be used with user data tables.
Factory for creating
DataKeyValueServiceManager
instances.See
AtlasDbFactory
.Cassandra derives the default concurrentGetRangesThreadPoolSize from
the pool size and the number of thrift hosts.
Combines two
TaggedMetricSet
s.Thrown by a key value service when an operation could not be performed
because the required consistency could not be met.
A
KeyAlreadyExistsException
is thrown if an operation that conditionally updates a KeyValueService
fails because some data is already present in the underlying database.A service which stores key-value pairs.
Marker interface for various AtlasDb KeyValueService config objects.
Marker interface for various AtlasDb KeyValueServiceRuntime config objects.
Updates metrics for work done as part of reading a transactional snapshot from the key-value-service.
Reads state of a
KeyValueService
in accordance with the provided
AtlasDB timestamp, following the AtlasDB read protocol.Info about one specific
KeyValueService
read/get method call.The idea here is to keep a map of
CellReference
-> value for each table.Indicates whether metrics should be published.
Determines whether a metric should be published.
A request to be supplied to KeyValueService.mulitCheckAndSet.
Allows for deleting all data from a namespace (e.g., dropping the keyspace for a Cassandra KVS) programmatically,
and determining when that deletion is complete.
This task allows us to essentially implement ON DELETE CASCADE.
Represents a handle to the underlying space of key-value pairs.
Deprecated.
General condition that is checked before a transaction commits for validity.
Represents a partial row to be used for range requests.
Allows you to restrict a call on the database
to specific rows and columns.
A helper class used to construct an immutable
RangeRequest
instance.The AtlasDB read protocol in certain circumstances requires that we check that pre-commit requirements are
still being met before a transaction completes.
ReusablePersister
s are required to have a no arg constructor and be thread-safe.The lambda to execute on commit().
Provides the methods for a transaction with the key-value store.
This exception type represents a failure during commit where we cannot be sure if the transaction
succeeded or not.
Data about the amount of commit locks requested by a transaction.
Thrown if there is a conflict detected when a transaction is committed.
This is a generic exception for all failures thrown from a Transaction
This is a generic class of failures that could happen during a transaction where we can retry the
transaction.
Indicates that we timed out while trying to obtain necessary locks during a transaction.
The locks to the lock server have timed out.
A TransactionManagerConsistencyResult may be returned from a consistency check, which AtlasDB can execute to
determine that it is safe (or, at least, not obviously unsafe) to service requests.
Data about a transaction's read/get interactions with
KeyValueService
.This enum handles the different behaviors that can happen as a result of doing reads before the
unreadable timestamp.
The
LockWatchValueScopingCache
will provide one of these to every (relevant) transaction, and this will
contain a view of the cache at the correct point in time, which is determined by the transaction's
LockWatchVersion
.Transaction service is used by the atlas protocol to determine is a given transaction has been
committed or aborted.
[TO COME: Interface Introduction].
Indicates the result of a coordination service transform call.
Represents a value in the key-value store (including its timestamp).
A pair of an optionally present value and a bound indicating that the value is valid for events at timestamps up to
the bound, inclusive.
ReusablePersister
instead.