public class TryLockResponse
extends java.lang.Object
implements java.io.Serializable
The DataGate server tryLock operation response.
Constructor and Description |
---|
TryLockResponse()
Instantiates a new
TryLockResponse . |
TryLockResponse(boolean lockAcquired) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isLockAcquired()
The boolean value indicating whether the lock
has been acquired or not.
|
void |
setLockAcquired(boolean lockAcquired)
The boolean value indicating whether the lock
has been acquired or not.
|
java.lang.String |
toString() |
public TryLockResponse()
Instantiates a new TryLockResponse
.
@ConstructorProperties(value="lockAcquired") @Generated(value="lombok") public TryLockResponse(boolean lockAcquired)
@Generated(value="lombok") public boolean isLockAcquired()
The boolean value indicating whether the lock has been acquired or not.
true
if lock acquired; false
otherwise.@Generated(value="lombok") public void setLockAcquired(boolean lockAcquired)
The boolean value indicating whether the lock has been acquired or not.
lockAcquired
- the boolean value@Generated(value="lombok") public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
@Generated(value="lombok") protected boolean canEqual(java.lang.Object other)
@Generated(value="lombok") public int hashCode()
hashCode
in class java.lang.Object
@Generated(value="lombok") public java.lang.String toString()
toString
in class java.lang.Object