Class 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 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BufferPools

        public BufferPools()
    • 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