| Package | Description |
|---|---|
| com.sleepycat.je.latch |
INTERNAL: Latches wrap Java ReentrantLock and ReentrantReadWriteLock and
add restrictions and debugging support; used mainly for IN locking.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SharedLatch
Extends Latch to provide a reader-writer/shared-exclusive latch.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LatchImpl
An exclusive latch without stats.
|
class |
LatchWithStatsImpl
An exclusive latch with stats.
|
class |
SharedLatchImpl |
class |
TimingLatch
A subclass of Latch that may be used for debugging performance issues.
|
| Modifier and Type | Method and Description |
|---|---|
static Latch |
LatchFactory.createExclusiveLatch(EnvironmentImpl envImpl,
String name,
boolean collectStats)
Creates a Latch, creating a LatchContext from the given name and
envImpl.
|
static Latch |
LatchFactory.createExclusiveLatch(LatchContext context,
boolean collectStats)
Creates a Latch using a given LatchContext.
|
Copyright © 2024. All rights reserved.