public class BufferPools
extends java.lang.Object
| Constructor and Description |
|---|
BufferPools() |
| Modifier and Type | Method and Description |
|---|---|
static BufferPool |
forChunkCache()
Long-lived buffers used for chunk cache and other disk access
|
static BufferPool |
forNetworking()
Short-lived buffers used for internode messaging or client-server connections.
|
static void |
shutdownLocalCleaner(long timeout,
java.util.concurrent.TimeUnit unit) |
public static BufferPool forChunkCache()
public static BufferPool forNetworking()
public static void shutdownLocalCleaner(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.util.concurrent.TimeoutException,
java.lang.InterruptedException
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedExceptionCopyright © 2009-2020 The Apache Software Foundation