Class BufferPools
- java.lang.Object
-
- org.apache.cassandra.utils.memory.BufferPools
-
public class BufferPools extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BufferPools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BufferPool
forChunkCache()
Long-lived buffers used for chunk cache and other disk accessstatic BufferPool
forNetworking()
Short-lived buffers used for internode messaging or client-server connections.static void
shutdownLocalCleaner(long timeout, java.util.concurrent.TimeUnit unit)
-
-
-
Method Detail
-
forChunkCache
public static BufferPool forChunkCache()
Long-lived buffers used for chunk cache and other disk access
-
forNetworking
public static BufferPool forNetworking()
Short-lived buffers used for internode messaging or client-server connections.
-
shutdownLocalCleaner
public static void shutdownLocalCleaner(long timeout, java.util.concurrent.TimeUnit unit) throws java.util.concurrent.TimeoutException, java.lang.InterruptedException
- Throws:
java.util.concurrent.TimeoutException
java.lang.InterruptedException
-
-