public class CacheKey extends Object implements Comparable<CacheKey>
Modifier and Type | Field and Description |
---|---|
protected long |
lastAccess |
protected long |
orderingValue |
Constructor and Description |
---|
CacheKey(Long id,
long lastAccess,
long orderingValue) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CacheKey o) |
boolean |
equals(Object obj) |
Long |
getId() |
long |
getLastAccess() |
long |
getOrderingValue() |
int |
hashCode() |
String |
toString() |
protected final long lastAccess
protected final long orderingValue
public CacheKey(Long id, long lastAccess, long orderingValue)
public Long getId()
public long getLastAccess()
public long getOrderingValue()
public int compareTo(CacheKey o)
compareTo
in interface Comparable<CacheKey>
Copyright © 2018 JBoss by Red Hat. All rights reserved.