Package | Description |
---|---|
org.apache.cassandra.utils | |
org.apache.cassandra.utils.concurrent |
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 © 2009- The Apache Software Foundation