Package net.eternalclient.api.rs
Interface RSEvictingDualNodeHashTable
-
public interface RSEvictingDualNodeHashTable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RSDualNode
get(long id)
int
getCapacity()
RSIterableDualNodeQueue
getDeque()
RSDualNode
getDualNode()
int
getRemainingCapacity()
float
getThreshold()
int
getTmpCapacity()
void
increaseCapacity(int newSize)
boolean
isTrashing()
void
put(RSDualNode var1, long var2)
void
reset()
void
resize(int newSize)
void
setCapacity(int capacity)
void
setHashTable(RSIterableNodeHashTable hashTable)
void
setRemainingCapacity(int remainingCapacity)
void
setThreshold(float threshold)
void
setTmpCapacity(int tmpCapacity)
-
-
-
Method Detail
-
get
RSDualNode get(long id)
-
put
void put(RSDualNode var1, long var2)
-
getDualNode
RSDualNode getDualNode()
-
reset
void reset()
-
getCapacity
int getCapacity()
-
setCapacity
void setCapacity(int capacity)
-
getRemainingCapacity
int getRemainingCapacity()
-
setRemainingCapacity
void setRemainingCapacity(int remainingCapacity)
-
getDeque
RSIterableDualNodeQueue getDeque()
-
setHashTable
void setHashTable(RSIterableNodeHashTable hashTable)
-
getThreshold
float getThreshold()
-
setThreshold
void setThreshold(float threshold)
-
getTmpCapacity
int getTmpCapacity()
-
setTmpCapacity
void setTmpCapacity(int tmpCapacity)
-
isTrashing
boolean isTrashing()
-
resize
void resize(int newSize)
-
increaseCapacity
void increaseCapacity(int newSize)
-
-