Question on MemoryAwareThreadPoolExecutor constructor

Virat Gohil virat4lug at gmail.com
Thu Mar 19 03:16:06 EDT 2009


Hi Team,

I was playing around with OrderedMemoryAwareThreadPoolExecutor. The
documentation on the constructor is a little confusing to me.

MemoryAwareThreadPoolExecutor(int corePoolSize, long
maxChannelMemorySize, long maxTotalMemorySize)

My question is, are the maxChannelMemorySize and maxTotalMemorySize
considered in MB or KB or bytes?

Thanks!

Virat




More information about the netty-users mailing list