org.apache.lucene.store.bytebuffer
Class ByteBufferAllocator.Cleaner

java.lang.Object
  extended by org.apache.lucene.store.bytebuffer.ByteBufferAllocator.Cleaner
Enclosing interface:
ByteBufferAllocator

public static class ByteBufferAllocator.Cleaner
extends Object

Helper class to allocator implementations allowing to clean direct buffers.


Field Summary
static boolean CLEAN_SUPPORTED
           
 
Constructor Summary
ByteBufferAllocator.Cleaner()
           
 
Method Summary
static void clean(ByteBuffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLEAN_SUPPORTED

public static final boolean CLEAN_SUPPORTED
Constructor Detail

ByteBufferAllocator.Cleaner

public ByteBufferAllocator.Cleaner()
Method Detail

clean

public static void clean(ByteBuffer buffer)


Copyright © 2009-2012. All Rights Reserved.