public class LatchSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static LatchTable |
btreeLatchTable |
static LatchContext |
DUMMY_LATCH_CONTEXT |
static LatchTable |
otherLatchTable |
static boolean |
TRACK_LATCHES |
| Constructor and Description |
|---|
LatchSupport() |
| Modifier and Type | Method and Description |
|---|---|
static String |
btreeLatchesHeldToString() |
static void |
clear()
Should be called when closing the environment, so that residual latches
don't impact another environment that is opened
|
static void |
dumpBtreeLatchesHeld() |
static void |
expectBtreeLatchesHeld(int expectNLatches) |
static void |
expectBtreeLatchesHeld(int expectNLatches,
String msg) |
static int |
nBtreeLatchesHeld() |
public static final boolean TRACK_LATCHES
public static final LatchTable btreeLatchTable
public static final LatchTable otherLatchTable
public static final LatchContext DUMMY_LATCH_CONTEXT
public static void expectBtreeLatchesHeld(int expectNLatches)
public static void expectBtreeLatchesHeld(int expectNLatches,
String msg)
public static int nBtreeLatchesHeld()
public static void dumpBtreeLatchesHeld()
public static String btreeLatchesHeldToString()
public static void clear()
Copyright © 2024. All rights reserved.