public class LockRequest extends Object
Constructor and Description |
---|
LockRequest(LockType lockType,
LockAction lockAction,
long lockId,
String location,
long periodOfTime,
long indexConstPeriodOfTime,
int timeOut) |
Modifier and Type | Method and Description |
---|---|
long |
getIndexConstPeriodOfTime() |
String |
getLocation() |
LockAction |
getLockAction() |
long |
getLockId() |
LockType |
getLockType() |
long |
getPeriodOfTime() |
int |
getTimeOut() |
static LockRequest |
resolveRequest(ByteBuffer buffer) |
byte[] |
toByteArray() |
String |
toString() |
public LockRequest(LockType lockType, LockAction lockAction, long lockId, String location, long periodOfTime, long indexConstPeriodOfTime, int timeOut)
lockType
- lockAction
- lockId
- location
- periodOfTime
- indexConstPeriodOfTime
- timeOut
- public byte[] toByteArray()
public static LockRequest resolveRequest(ByteBuffer buffer)
buffer
- public LockType getLockType()
public LockAction getLockAction()
public long getLockId()
public String getLocation()
public long getPeriodOfTime()
public long getIndexConstPeriodOfTime()
public int getTimeOut()
Copyright © 2016 Egothor. All Rights Reserved.