Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[15:55:29 CDT(-0500)] <EricDalquist> here is an example: https://github.com/Jasig/uPortal/blob/master/uportal-war/src/main/java/org/jasig/portal/portlet/rendering/worker/ThreadNamingPortletExecutionInterceptorAdaptor.java

[15:55:52 CDT(-0500)] <EricDalquist> so that lets you write a little class that gets called preSubmit, preExec, and postExec

[15:56:05 CDT(-0500)] <EricDalquist> so you could write a portlet execution interceptor

[15:56:20 CDT(-0500)] <EricDalquist> that counts the number of portlets of each fname in the pool

[15:56:25 CDT(-0500)] <drewwills> one that would keep a count

[15:56:26 CDT(-0500)] <drewwills> ?

[15:56:32 CDT(-0500)] <drewwills> yes, exactly

[15:56:40 CDT(-0500)] <EricDalquist> and uses that info to influence sub-queue skipping in PortletWorkerExecutionQueue

[15:56:51 CDT(-0500)] <drewwills> terrific, that's great