class Arbiter
extends java.lang.Object
Constructor and Description |
---|
Arbiter(EnvironmentImpl envImpl) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
getEvictionPledge()
Return non zero number of bytes if eviction should happen.
|
boolean |
isCacheFull()
Returns true if the JE cache level is above the point where it is likely
that the cache has filled, and is staying full.
|
(package private) boolean |
isOverBudget()
Return true if the memory budget is overspent.
|
StatGroup |
loadStats(StatsConfig config) |
(package private) boolean |
needCriticalEviction()
Do a check on whether synchronous eviction is needed.
|
(package private) void |
setRunnableHook(TestHook<java.lang.Boolean> hook) |
(package private) boolean |
stillNeedsEviction()
Do a check on whether the cache should still be subject to eviction.
|
boolean |
wasCacheEverFull()
Returns whether eviction has ever occurred, i.e., whether the cache has
ever filled.
|
Arbiter(EnvironmentImpl envImpl)
public StatGroup loadStats(StatsConfig config)
boolean isOverBudget()
boolean needCriticalEviction()
boolean stillNeedsEviction()
public boolean isCacheFull()
public boolean wasCacheEverFull()
long getEvictionPledge()
void setRunnableHook(TestHook<java.lang.Boolean> hook)
Copyright (c) 2004-2012 Oracle. All rights reserved.