| Package | Description |
|---|---|
| org.apache.cassandra.net | |
| org.apache.cassandra.utils | |
| org.apache.cassandra.utils.concurrent |
| Modifier and Type | Field and Description |
|---|---|
protected TimeSource |
RateBasedBackPressure.timeSource |
| Constructor and Description |
|---|
RateBasedBackPressure(java.util.Map<java.lang.String,java.lang.Object> args,
TimeSource timeSource,
long windowSize) |
| Modifier and Type | Class and Description |
|---|---|
class |
SystemTimeSource
Time source backed by JVM clock.
|
| Modifier and Type | Method and Description |
|---|---|
TimeSource |
SystemTimeSource.sleep(long sleepFor,
java.util.concurrent.TimeUnit unit) |
TimeSource |
TimeSource.sleep(long sleepFor,
java.util.concurrent.TimeUnit unit)
Sleep for the given amount of time.
|
TimeSource |
SystemTimeSource.sleepUninterruptibly(long sleepFor,
java.util.concurrent.TimeUnit unit) |
TimeSource |
TimeSource.sleepUninterruptibly(long sleepFor,
java.util.concurrent.TimeUnit unit)
Sleep for the given amount of time uninterruptibly.
|
| Constructor and Description |
|---|
SlidingTimeRate(TimeSource timeSource,
long size,
long precision,
java.util.concurrent.TimeUnit unit)
Creates a sliding rate whose time window is of the given size, with the given precision and time unit.
|
| Constructor and Description |
|---|
IntervalLock(TimeSource timeSource) |
Copyright © 2018 The Apache Software Foundation