public class LockResult extends Object
Constructor and Description |
---|
LockResult(boolean lockGranted,
long lockId,
long expirationTime,
long indexConstExpirationTime) |
Modifier and Type | Method and Description |
---|---|
long |
getExpirationTime() |
long |
getIndexConstExpirationTime() |
long |
getLockId() |
boolean |
isProcessedOK() |
static LockResult |
resolveResponse(byte[] packetData) |
void |
setIndexConstExpirationTime(long indexConstExpirationTime) |
ByteBuffer |
toByteBuffer() |
String |
toString() |
public LockResult(boolean lockGranted, long lockId, long expirationTime, long indexConstExpirationTime)
public ByteBuffer toByteBuffer()
public static LockResult resolveResponse(byte[] packetData)
packetData
- public boolean isProcessedOK()
public long getLockId()
public long getExpirationTime()
public long getIndexConstExpirationTime()
public void setIndexConstExpirationTime(long indexConstExpirationTime)
Copyright © 2016 Egothor. All Rights Reserved.