public class Locker extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Locker.LockCloser |
Constructor and Description |
---|
Locker() |
Modifier and Type | Method and Description |
---|---|
static void |
disable() |
static Locker.LockCloser |
doWithLock(Lockable lockable) |
static void |
dumpThread(Thread thread,
String message) |
static void |
enable()
start dumping lock stats once per minute, can't be stopped once started.
|
public static Locker.LockCloser doWithLock(Lockable lockable)
public static void enable()
public static void disable()
Copyright © 2004–2021. All rights reserved.