/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }
/** * Get thread associated buffer pool. * * @return thread associated buffer pool. This method may return * <code>null</code> if the current thread doesn't have a buffer pool * associated with it. */ protected static ThreadLocalPool getThreadLocalPool() { final Thread t = Thread.currentThread(); if (t instanceof DefaultWorkerThread) { return ((DefaultWorkerThread) t).getMemoryPool(); } else { return null; } }