Method Summary |
|
protected synchronized void | createScheduledService() |
public void | dispose() Cleanly disposes of the RenderHub's resources. |
public int | getCorePoolSize() Get the starting size of the core thread pool. |
public long | getKeepAliveTime() Get the keep alive time of threads above the core number. |
public int | getMaxPoolSize() Get the maximum size of the core thread pool. |
public int | getRenderQueueCapacity() Get the capacity of the core render service queue. |
public int | getSchedulePoolSize() Get the thread pool size of the scheduled render service. |
public ScheduledThreadPoolExecutor | getScheduledService() As a secondary responsibility, the RenderHub also maintains a thread pool
for render calls that should occur in the future. |
public void | requestRender(Renderable renderable) The prime responsibility of the RenderHub is to perform a render call on
the submitted Renderable. |
public void | setCorePoolSize(int corePoolSize) Set the thread pool size of the core render service. |
public void | setKeepAliveTime(long keepAliveTime) Set the amount of idle time to keep threads created above the core size. |
public void | setMaxPoolSize(int maxPoolSize) Set the maximum thread pool size of the core render service. |
public void | setRenderQueueCapacity(int renderQueueCapacity) |
public void | setSchedulePoolSize(int schedulePoolSize) Set the thread pool size of the scheduled render service. |