Package | Description |
---|---|
org.egothor.lock | |
org.egothor.lock.server |
Modifier and Type | Method and Description |
---|---|
static LockType |
LockType.getInstance(int ordinal) |
LockType |
LockRequest.getLockType() |
static LockType |
LockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockType[] |
LockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LockRequest(LockType lockType,
LockAction lockAction,
long lockId,
String location,
long periodOfTime,
long indexConstPeriodOfTime,
int timeOut) |
Modifier and Type | Field and Description |
---|---|
LockType |
LockServerThread.LockServerRecord.LockEntry.lockType |
LockType |
LockServerThread.LockServerRecord.ReservationEntry.lockType |
Modifier and Type | Method and Description |
---|---|
boolean |
LockServerThread.LockServerRecord.addLockEntry(long lockId,
LockType lockType,
long expirationTime) |
LockResult |
LockServerThread.LockServerRecord.addReservationEntry(LockType lockType,
long reservationExpirationTime,
boolean addFirst) |
int |
LockServerThread.LockServerRecord.indexOfReservation(long reservationId,
LockType lockType) |
Constructor and Description |
---|
LockEntry(long lockId,
LockType lockType,
long expirationTime) |
ReservationEntry(long reservationId,
LockType lockType) |
Copyright © 2016 Egothor. All Rights Reserved.