com.sleepycat.je.dbi
Class MemoryBudget.Totals
java.lang.Object
com.sleepycat.je.dbi.MemoryBudget.Totals
- Enclosing class:
- MemoryBudget
public abstract static class MemoryBudget.Totals
- extends Object
Common base class for shared and private totals. This abstraction
allows most other classes to be unaware of whether we're using a
SharedEvictor or PrivateEvictor.
Field Summary |
(package private) long |
maxMemory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxMemory
long maxMemory
getMaxMemory
public final long getMaxMemory()
getCriticalThreshold
public final long getCriticalThreshold()
getCacheUsage
public abstract long getCacheUsage()
updateCacheUsage
abstract boolean updateCacheUsage(long increment)
isSharedCache
abstract boolean isSharedCache()
Copyright (c) 2004-2010 Oracle. All rights reserved.