|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thimbleware.jmemcached.storage.bytebuffer.ByteBufferBlockStore
com.thimbleware.jmemcached.storage.mmap.MemoryMappedBlockStore
public final class MemoryMappedBlockStore
Memory mapped block storage mechanism with a free-list maintained by TreeMap Allows memory for storage to be mapped outside of the VM's main memory, and outside the purvey of the GC. Should offer O(Log(N)) search and free of blocks.
| Nested Class Summary | |
|---|---|
static class |
MemoryMappedBlockStore.MemoryMappedBlockStoreFactory
|
| Nested classes/interfaces inherited from class com.thimbleware.jmemcached.storage.bytebuffer.ByteBufferBlockStore |
|---|
ByteBufferBlockStore.BadAllocationException, ByteBufferBlockStore.ByteBufferBlockStoreFactory |
| Field Summary |
|---|
| Fields inherited from class com.thimbleware.jmemcached.storage.bytebuffer.ByteBufferBlockStore |
|---|
storageBuffer |
| Method Summary | |
|---|---|
protected void |
freeResources()
|
static BlockStoreFactory |
getFactory()
|
| Methods inherited from class com.thimbleware.jmemcached.storage.bytebuffer.ByteBufferBlockStore |
|---|
alloc, clear, close, free, get, getBlockSizeBytes, getFreeBytes, getStoreSizeBytes, initialize, roundUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BlockStoreFactory getFactory()
protected void freeResources()
throws java.io.IOException
freeResources in class ByteBufferBlockStorejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||