|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.backends.jeb.importLDIF.BufferManager
public class BufferManager
Manages a shared cache among worker threads that caches substring key/value pairs to avoid DB cache access. Once the cache is above it's memory usage limit, it will start slowly flushing keys (similar to the JEB eviction process) until it is under the limit.
Constructor Summary | |
---|---|
BufferManager(long memoryLimit,
int importThreadCount)
Create buffer manager instance. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferManager(long memoryLimit, int importThreadCount)
memoryLimit
- The memory limit.importThreadCount
- The count of import worker threads.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |