| Modifier and Type | Method and Description |
|---|---|
Duration |
Duration.add(Duration addend)
Returns a new duration that equals the combined length of this and the given duration in the
unit of this duration.
|
Duration |
Duration.multiply(double multiplier)
Multiplies the length of this duration by the given multiplier.
|
Duration |
Duration.sub(Duration subtrahend)
Returns a new duration that equals the length of this duration minus the length of the given duration
in the unit of this duration.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
Duration.add(Duration addend)
Returns a new duration that equals the combined length of this and the given duration in the
unit of this duration.
|
Duration |
Duration.sub(Duration subtrahend)
Returns a new duration that equals the length of this duration minus the length of the given duration
in the unit of this duration.
|
| Modifier and Type | Method and Description |
|---|---|
IDBlock |
IDAuthority.getIDBlock(int partition,
int idNamespace,
Duration timeout)
Returns a block of new ids in the form of
IDBlock. |
| Constructor and Description |
|---|
BackendTransaction(CacheTransaction storeTx,
BaseTransactionConfig txConfig,
StoreFeatures features,
KCVSCache edgeStore,
KCVSCache indexStore,
Duration maxReadTime,
Map<String,IndexTransaction> indexTx,
Executor threadPool) |
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
DistributedStoreManager.connectionTimeoutMS |
| Modifier and Type | Method and Description |
|---|---|
void |
KCVSConfiguration.setMaxOperationWaitTime(Duration waitTime) |
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
AbstractIDAuthority.idApplicationWaitMS |
| Modifier and Type | Method and Description |
|---|---|
IDBlock |
ConsistentKeyIDAuthority.getIDBlock(int partition,
int idNamespace,
Duration timeout) |
| Constructor and Description |
|---|
IndexTransaction(IndexProvider index,
KeyInformation.IndexRetriever keyInformations,
BaseTransactionConfig config,
Duration maxWriteTime) |
| Constructor and Description |
|---|
CacheTransaction(StoreTransaction tx,
KeyColumnValueStoreManager manager,
int persistChunkSize,
Duration maxWriteTime,
boolean batchLoading) |
CacheTransaction(StoreTransaction tx,
KeyColumnValueStoreManager manager,
int persistChunkSize,
Duration maxWriteTime,
boolean batchLoading,
int expectedNumStores) |
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
AbstractLocker.lockExpire
The amount of time, in
AbstractLocker.times.getUnit(), that may pass
after writing a lock before it is considered to be invalid and
automatically unlocked. |
protected Duration |
AbstractLocker.Builder.lockExpire |
| Modifier and Type | Method and Description |
|---|---|
B |
AbstractLocker.Builder.lockExpire(Duration d) |
| Constructor and Description |
|---|
AbstractLocker(StaticBuffer rid,
TimestampProvider times,
ConsistentKeyLockerSerializer serializer,
LocalLockMediator<StoreTransaction> llm,
LockerState<S> lockState,
Duration lockExpire,
org.slf4j.Logger log) |
| Modifier and Type | Method and Description |
|---|---|
ConsistentKeyLocker.Builder |
ConsistentKeyLocker.Builder.lockWait(Duration d) |
| Constructor and Description |
|---|
ExpectedValueCheckingStoreManager(KeyColumnValueStoreManager storeManager,
String lockStoreSuffix,
LockerProvider lockerProvider,
Duration maxReadTime) |
ExpectedValueCheckingTransaction(StoreTransaction dataTx,
StoreTransaction lockTx,
Duration maxReadTime) |
| Modifier and Type | Field and Description |
|---|---|
static ConfigOption<Duration> |
KCVSLog.LOG_MAX_READ_TIME |
static ConfigOption<Duration> |
KCVSLog.LOG_MAX_WRITE_TIME |
static ConfigOption<Duration> |
KCVSLog.LOG_READ_LAG_TIME |
| Modifier and Type | Method and Description |
|---|---|
static <R> R |
BackendOperation.execute(BackendOperation.Transactional<R> exe,
BackendOperation.TransactionalProvider provider,
TimestampProvider times,
Duration maxTime) |
static <V> V |
BackendOperation.execute(Callable<V> exe,
Duration totalWaitTime) |
static <V> V |
BackendOperation.executeDirect(Callable<V> exe,
Duration totalWaitTime) |
| Modifier and Type | Class and Description |
|---|---|
class |
StandardDuration |
class |
ZeroDuration
A zero-length
Duration singleton. |
| Modifier and Type | Field and Description |
|---|---|
static Duration |
ZeroDuration.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Duration |
StandardDuration.add(Duration addend) |
Duration |
ZeroDuration.add(Duration addend) |
Duration |
Timer.elapsed() |
static Duration |
Durations.min(Duration x,
Duration y) |
Duration |
StandardDuration.multiply(double multiplier) |
Duration |
ZeroDuration.multiply(double multiplier) |
Duration |
StandardDuration.sub(Duration subtrahend) |
Duration |
ZeroDuration.sub(Duration subtrahend) |
| Modifier and Type | Method and Description |
|---|---|
StandardTimepoint |
StandardTimepoint.add(Duration addend) |
Duration |
StandardDuration.add(Duration addend) |
Duration |
ZeroDuration.add(Duration addend) |
Timepoint |
Timepoint.add(Duration addend)
Returns a new Timepoint which is the given duration later in time.
|
int |
StandardDuration.compareTo(Duration o) |
int |
ZeroDuration.compareTo(Duration o) |
static Duration |
Durations.min(Duration x,
Duration y) |
void |
Timestamps.sleepFor(Duration duration) |
void |
TimestampProvider.sleepFor(Duration duration)
Sleep for the given duration of time.
|
StandardTimepoint |
StandardTimepoint.sub(Duration subtrahend) |
Duration |
StandardDuration.sub(Duration subtrahend) |
Duration |
ZeroDuration.sub(Duration subtrahend) |
Timepoint |
Timepoint.sub(Duration subtrahend)
Returns a new Timepoint that is the given duration earlier in time.
|
| Modifier and Type | Field and Description |
|---|---|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.CONNECTION_TIMEOUT
Default timeout when connecting to a remote database instance
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.GANGLIA_INTERVAL
The number of milliseconds to wait between sending Metrics data to the
host or group specified by
GraphDatabaseConfiguration.GANGLIA_HOST_OR_GROUP. |
static ConfigOption<Duration> |
GraphDatabaseConfiguration.GRAPHITE_INTERVAL
The number of milliseconds to wait between sending Metrics data to the
host specified
GraphDatabaseConfiguration.GRAPHITE_HOST. |
static ConfigOption<Duration> |
GraphDatabaseConfiguration.IDAUTHORITY_WAIT
The number of milliseconds the system waits for an id block application to be acknowledged by the storage backend.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.IDS_RENEW_TIMEOUT
The number of milliseconds that the Titan id pool manager will wait before giving up on allocating a new block
of ids.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.LOCK_EXPIRE
Number of milliseconds after which a lock is considered to have expired.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.LOCK_WAIT
The number of milliseconds the system waits for a lock application to be acknowledged by the storage backend.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.LOG_READ_INTERVAL |
static ConfigOption<Duration> |
GraphDatabaseConfiguration.LOG_SEND_DELAY |
static ConfigOption<Duration> |
GraphDatabaseConfiguration.METRICS_CONSOLE_INTERVAL
Metrics console reporter interval in milliseconds.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.METRICS_CSV_INTERVAL
Metrics CSV reporter interval in milliseconds.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.METRICS_SLF4J_INTERVAL
Metrics Slf4j reporter interval in milliseconds.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.SETUP_WAITTIME
Time in milliseconds for backend manager to wait for the storage backends to
become available when Titan is run in server mode.
|
static ConfigOption<Duration> |
GraphDatabaseConfiguration.STORAGE_READ_WAITTIME |
static ConfigOption<Duration> |
GraphDatabaseConfiguration.STORAGE_WRITE_WAITTIME
Number of times the database attempts to execute a read operation against the storage layer in the current transaction.
|
| Constructor and Description |
|---|
StandardIDPool(IDAuthority idAuthority,
int partition,
int idNamespace,
long idUpperBound,
Duration renewTimeout,
double renewBufferPercentage) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReentrantTransactionLock.lock(Duration timeout) |
void |
CombinerLock.lock(Duration timeout) |
void |
FakeLock.lock(Duration timeout) |
void |
TransactionLock.lock(Duration timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricManager.addConsoleReporter(Duration reportInterval)
Create a
ConsoleReporter attached to the Titan Metrics registry. |
void |
MetricManager.addCsvReporter(Duration reportInterval,
String output)
Create a
CsvReporter attached to the Titan Metrics registry. |
void |
MetricManager.addGangliaReporter(String groupOrHost,
int port,
info.ganglia.gmetric4j.gmetric.GMetric.UDPAddressingMode addressingMode,
int ttl,
Boolean protocol31,
UUID hostUUID,
String spoof,
Duration reportInterval)
Create a
GangliaReporter attached to the Titan Metrics registry. |
void |
MetricManager.addGraphiteReporter(String host,
int port,
String prefix,
Duration reportInterval)
Create a
GraphiteReporter attached to the Titan Metrics registry. |
void |
MetricManager.addSlf4jReporter(Duration reportInterval,
String loggerName)
Create a
Slf4jReporter attached to the Titan Metrics registry. |
Copyright © 2012–2014. All rights reserved.