public class LockFactory extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
LockFactory.ImplType |
Constructor | Description |
---|---|
LockFactory() |
Modifier and Type | Method | Description |
---|---|---|
static RecursiveLock |
createRecursiveLock() |
default is ImplType.Int01, unfair'ish (fastest w/ least deviation)
|
static RecursiveLock |
createRecursiveLock(LockFactory.ImplType t,
boolean fair) |
|
static RecursiveThreadGroupLock |
createRecursiveThreadGroupLock() |
default is ImplType.Int02ThreadGroup, unfair'ish (fastest w/ least deviation)
|
public static RecursiveLock createRecursiveLock()
public static RecursiveThreadGroupLock createRecursiveThreadGroupLock()
public static RecursiveLock createRecursiveLock(LockFactory.ImplType t, boolean fair)