public class DeadlockDetectionConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
enabled |
private long |
spinDuration |
Constructor and Description |
---|
DeadlockDetectionConfiguration(boolean enabled,
long spinDuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Whether deadlock detection is enabled or disabled
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
long |
spinDuration()
Time period that determines how often is lock acquisition attempted within maximum time
allowed to acquire a particular lock
|
java.lang.String |
toString() |
DeadlockDetectionConfiguration(boolean enabled, long spinDuration)
public long spinDuration()
public boolean enabled()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object