| Constructor and Description |
|---|
KCVSConfiguration(BackendOperation.TransactionalProvider txProvider,
TimestampProvider times,
KeyColumnValueStore store,
String identifier) |
| Constructor and Description |
|---|
ConsistentKeyIDAuthority(KeyColumnValueStore idStore,
StoreManager manager,
Configuration config) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReadOnlyKeyColumnValueStore
Wraps a
KeyColumnValueStore and throws exceptions when a mutation is attempted. |
| Modifier and Type | Field and Description |
|---|---|
protected KeyColumnValueStore |
ReadOnlyKeyColumnValueStore.store |
| Modifier and Type | Method and Description |
|---|---|
KeyColumnValueStore |
KeyColumnValueStoreManager.openDatabase(String name)
Opens an ordered database by the given name.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
KCVSUtil.containsKey(KeyColumnValueStore store,
StaticBuffer key,
int maxColumnLength,
StoreTransaction txh) |
static boolean |
KCVSUtil.containsKey(KeyColumnValueStore store,
StaticBuffer key,
StoreTransaction txh) |
static boolean |
KCVSUtil.containsKeyColumn(KeyColumnValueStore store,
StaticBuffer key,
StaticBuffer column,
StoreTransaction txh)
Returns true if the specified key-column pair exists in the store.
|
static StaticBuffer |
KCVSUtil.get(KeyColumnValueStore store,
StaticBuffer key,
StaticBuffer column,
StoreTransaction txh)
Retrieves the value for the specified column and key under the given transaction
from the store if such exists, otherwise returns NULL
|
static KeyIterator |
KCVSUtil.getKeys(KeyColumnValueStore store,
StoreFeatures features,
int keyLength,
int sliceLength,
StoreTransaction txh)
If the store supports unordered scans, then call {#link
getKeys(SliceQuery, StoreTransaction). |
| Constructor and Description |
|---|
ReadOnlyKeyColumnValueStore(KeyColumnValueStore store) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExpirationKCVSCache |
class |
KCVSCache |
class |
NoKCVSCache |
| Modifier and Type | Field and Description |
|---|---|
protected KeyColumnValueStore |
KCVSCache.store |
| Constructor and Description |
|---|
ExpirationKCVSCache(KeyColumnValueStore store,
String metricsName,
long cacheTimeMS,
long invalidationGracePeriodMS,
long maximumByteSize) |
KCVSCache(KeyColumnValueStore store,
String metricsName) |
NoKCVSCache(KeyColumnValueStore store) |
| Modifier and Type | Class and Description |
|---|---|
class |
InMemoryKeyColumnValueStore
An in-memory implementation of
KeyColumnValueStore. |
| Modifier and Type | Method and Description |
|---|---|
KeyColumnValueStore |
InMemoryStoreManager.openDatabase(String name) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseKeyColumnValueAdapter |
class |
OrderedKeyValueStoreAdapter
Wraps a
OrderedKeyValueStore and exposes it as a KeyColumnValueStore. |
| Modifier and Type | Class and Description |
|---|---|
class |
ExpectedValueCheckingStore
A
KeyColumnValueStore wrapper intended for nontransactional stores
that forwards all but these two methods to an encapsulated store
instance:
ExpectedValueCheckingStore.acquireLock(StaticBuffer, StaticBuffer, StaticBuffer, StoreTransaction)
ExpectedValueCheckingStore.mutate(StaticBuffer, List, List, StoreTransaction)
This wrapper adds some logic to both of the overridden methods before calling
the encapsulated store's version. |
| Modifier and Type | Method and Description |
|---|---|
KeyColumnValueStore |
ExpectedValueCheckingStore.getDataStore() |
KeyColumnValueStore |
ExpectedValueCheckingStoreManager.openDatabase(String name) |
| Constructor and Description |
|---|
ConsistentKeyLocker.Builder(KeyColumnValueStore store,
StoreManager manager) |
ExpectedValueCheckingStore(KeyColumnValueStore dataStore,
Locker locker) |
StandardLockCleanerRunnable(KeyColumnValueStore store,
KeyColumn target,
StoreTransaction tx,
ConsistentKeyLockerSerializer serializer,
long cutoff) |
StandardLockCleanerService(KeyColumnValueStore store,
ConsistentKeyLockerSerializer serializer) |
StandardLockCleanerService(KeyColumnValueStore store,
ConsistentKeyLockerSerializer serializer,
ExecutorService exec,
long cooldownTime,
TimeUnit cooldownUnit) |
| Constructor and Description |
|---|
KCVSLog(String name,
KCVSLogManager manager,
KeyColumnValueStore store,
ReadMarker readMarker,
Configuration config) |
| Modifier and Type | Class and Description |
|---|---|
class |
MetricInstrumentedStore
This class instruments an arbitrary KeyColumnValueStore backend with Metrics.
|
| Constructor and Description |
|---|
MetricInstrumentedStore(KeyColumnValueStore backend,
String metricsStoreName) |
Copyright © 2012–2014. All rights reserved.