|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.proxy.DefaultProxyServiceThreadPoolSizing.PoolContext
protected class DefaultProxyServiceThreadPoolSizing.PoolContext
PoolContext holds the working view of the usage of the thread pool throughout the analysis and is used to adjust the pool size during analysis.
Field Summary | |
---|---|
protected int |
m_cRequests The total request count during this adjustment period. |
protected long |
m_cThreadDecreaseMillis The pool size decrease time interval in milliseconds. |
protected long |
m_cThreadIncreaseMillis The pool size increase time interval in milliseconds. |
protected int |
m_cTotalBacklog The total backlog during this adjustment period. |
protected int |
m_cTotalIdleThreads The total idle thread count during this adjustment period. |
protected long |
m_ltdLastAdjustmentTime The last adjustment time in milliseconds. |
Constructor Summary | |
---|---|
DefaultProxyServiceThreadPoolSizing.PoolContext() Default constructor. |
Method Summary | |
---|---|
long |
getLastAdjustmentTime() Return the last adjustment time. |
int |
getMaxThreadCount() Return the maximum thread count for this thread pool. |
int |
getMinThreadCount() Return the the minimum thread count for this thread pool. |
int |
getRequestCount() Return the total request count in the current adjustment interval. |
long |
getSizeDecreaseTimeInterval() Return the pool size decrease time interval. |
long |
getSizeIncreaseTimeInterval() Return the pool size increase time interval. |
int |
getThreadCount() Return the current thread pool size. |
int |
getTotalBacklog() Return the total backlog during this adjustment period. |
int |
getTotalIdleThreads() Return the total idle thread count during this adjustment period. |
protected void |
initialize() Initialize the PoolContext using information from ThreadPoolManager. |
protected void |
reset() Reset the PoolContext. |
void |
setLastAdjustmentTime(long ltdTimeMillis) Set the the last time the pool size is or attempted to be updated. |
void |
setSizeDecreaseTimeInterval(long cMillis) Set the the time interval for dynamically decreasing the pool size. |
void |
setSizeIncreaseTimeInterval(long cMillis) Set the time interval for dynamically increasing the pool size, in milliseconds. |
Field Detail |
---|
protected int m_cRequests
protected int m_cTotalBacklog
protected int m_cTotalIdleThreads
protected long m_ltdLastAdjustmentTime
protected long m_cThreadIncreaseMillis
protected long m_cThreadDecreaseMillis
Constructor Detail |
---|
public DefaultProxyServiceThreadPoolSizing.PoolContext()
Method Detail |
---|
protected void initialize()
protected void reset()
public int getMaxThreadCount()
public int getMinThreadCount()
public int getRequestCount()
public long getLastAdjustmentTime()
public void setLastAdjustmentTime(long ltdTimeMillis)
ltdTimeMillis
- the last time the pool size is updated or attempted to be updatedpublic long getSizeDecreaseTimeInterval()
public void setSizeDecreaseTimeInterval(long cMillis)
cMillis
- the time interval for dynamically decreasing the pool sizepublic long getSizeIncreaseTimeInterval()
public void setSizeIncreaseTimeInterval(long cMillis)
cMillis
- the time interval for dynamically increasing the pool sizepublic int getThreadCount()
public int getTotalBacklog()
public int getTotalIdleThreads()
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |