| 
 | Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| 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
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_cRequestsThe total request count during this adjustment period. | 
| protected  long | m_cThreadDecreaseMillisThe pool size decrease time interval in milliseconds. | 
| protected  long | m_cThreadIncreaseMillisThe pool size increase time interval in milliseconds. | 
| protected  int | m_cTotalBacklogThe total backlog during this adjustment period. | 
| protected  int | m_cTotalIdleThreadsThe total idle thread count during this adjustment period. | 
| protected  long | m_ltdLastAdjustmentTimeThe 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® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||