Details
Description
The RenderManager and it's internals use thread pools and such to Ajax Push rendering. These artifacts have reasonable default values but currently no way to easily adjust them. We need to provide the APIs (getters and setters on the RenderManager) so that these values can be set programatically or declaratively (e.g. in faces-config or other dependency injection options like Spring).
The parameters of interest are in the RenderHub:
private ThreadPoolExecutor renderService;
private int corePoolSize = 10;
private int maxPoolSize = 15;
private long keepAliveTime = 300000;
private int renderQueueCapacity = 1000;
/**
* The specialized thread pool used to execute render calls at some future
* time. The RenderHub makes this available to Renderers that need this
* ability.
*
* @see IntervalRenderer, DelayRenderer
*/
private ScheduledThreadPoolExecutor scheduledService;
private int schedulePoolSize = 5;
The parameters of interest are in the RenderHub:
private ThreadPoolExecutor renderService;
private int corePoolSize = 10;
private int maxPoolSize = 15;
private long keepAliveTime = 300000;
private int renderQueueCapacity = 1000;
/**
* The specialized thread pool used to execute render calls at some future
* time. The RenderHub makes this available to Renderers that need this
* ability.
*
* @see IntervalRenderer, DelayRenderer
*/
private ScheduledThreadPoolExecutor scheduledService;
private int schedulePoolSize = 5;
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Fix Version/s | 1.7.2 [ 10130 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] | |
Assignee Priority | P1 |
Tyler Johnson
made changes -
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=5028 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17241 | Sat Jul 26 10:10:08 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/RenderHub.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/async/render/RenderManager.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17242 | Sat Jul 26 10:10:30 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/async/render/RenderManager.java
MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/async/render/RenderHub.java |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7.2RC1 [ 10140 ] | |
Fix Version/s | 1.7.2 [ 10130 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7.2 [ 10130 ] | |
Fix Version/s | 1.7.2RC1 [ 10140 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 | |
Assignee | Mircea Toma [ mircea.toma ] |
Assigning to Mircea