public abstract class LockedEntry extends java.lang.Object implements InterfaceEntry
| Constructor and Description |
|---|
LockedEntry(int hash,
java.lang.Object referent,
InterfaceEntry next)
creates a new Cache Entry
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearHardReference()
clear the reference
|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get() |
int |
getData()
The last time this entry was fetched
|
boolean |
hasHardReference()
has this entry got a hard reference.
|
int |
hashCode() |
InterfaceEntry |
next() |
void |
setData(int temp) |
void |
setNext(InterfaceEntry entry)
the next entry
|
public LockedEntry(int hash,
java.lang.Object referent,
InterfaceEntry next)
hash - The hash idreferent - the objectnext - the next elementpublic void setData(int temp)
setData in interface InterfaceEntrytemp - the datapublic java.lang.Object get()
get in interface InterfaceEntrypublic void clearHardReference()
clearHardReference in interface InterfaceEntrypublic boolean hasHardReference()
hasHardReference in interface InterfaceEntrypublic void setNext(InterfaceEntry entry)
setNext in interface InterfaceEntryentry - the entrypublic InterfaceEntry next()
next in interface InterfaceEntry@CheckReturnValue public int hashCode()
hashCode in class java.lang.Object@CheckReturnValue public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to checkpublic int getData()
InterfaceEntrygetData in interface InterfaceEntrystSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.