程序包 org.apache.dubbo.common.threadpool
-
接口概要 接口 说明 ThreadPool ThreadPool -
类概要 类 说明 MemoryLimitCalculator Runtime.freeMemory()
technology is used to calculate the memory limit by using the percentage of the current maximum available memory, which can be used withMemoryLimiter
.MemoryLimitedLinkedBlockingQueue<E> Can completely solve the OOM problem caused byLinkedBlockingQueue
.MemoryLimiter memory limiter.MemorySafeLinkedBlockingQueue<E> Can completely solve the OOM problem caused byLinkedBlockingQueue
, does not depend onInstrumentation
and is easier to use thanMemoryLimitedLinkedBlockingQueue
.ThreadlessExecutor The most important difference between this Executor and other normal Executor is that this one doesn't manage any thread.