Capacity

15 views
Skip to first unread message

Stefano Maestri

unread,
Mar 15, 2016, 10:47:15 AM3/15/16
to IronJacamar Developers
Hi all,

I've started to work on 


Designing this ported feature I've extended Extension to support module name and slot to have a general solution of issues like

You can see the commit here:

The problem in WFly will remain how to load classes from those module, so I'm adding a ClassLoaderPlugin SPI into IJ to native support those cases


any comments or concerns are more than welcome

I'll update the forum w/ other commits to support capacity feature in few days. Any suggestion request on this is welcome too


regards
S.

Jesper Pedersen

unread,
Mar 15, 2016, 10:59:19 AM3/15/16
to IronJacamar Developers
Great !

Other than the new classloader integration, I think that the functionality mainly should stay the same as the 1.2 branch.

Only package changes moving
  • pool.api.Capacity -> pool.Capacity
  • pool.api.CapacityIncrementer -> pool.CapacityIncrementer
  • pool.api.CapacityDecrementer -> pool.CapacityDecrementer

The pool.capacity package can stay the way it is IMHO. The actual configuration should likely be stored at pool level, e.g. show up in core.api.deploymentrepository.Pool.


Jesper Pedersen

unread,
Mar 15, 2016, 11:21:45 AM3/15/16
to IronJacamar Developers
CapacityIncrementer and CapacityDecrementer of course has to be moved to core.api.connectionmanager.pool for them to be able to show up in api.deploymentrepository...

Lin Gao

unread,
Mar 16, 2016, 4:29:47 AM3/16/16
to IronJacamar Developers
Happy to know that JBoss module-name and module-slot will be supported in IronJacamar side.

I think current design can cover the issues like: https://issues.jboss.org/browse/WFLY-2492 very well. :-)

One trivial issue is at [1], this line does not use the ClassLoaderPlugin to load the extension class yet. :-)

[1] https://github.com/ironjacamar/ironjacamar/blob/e8a424909e9e6ea14bdc6e61eaf138aa888c2c61/deployers/src/main/java/org/ironjacamar/deployers/common/AbstractResourceAdapterDeployer.java#L951


Best Regards

Stefano Maestri

unread,
Apr 5, 2016, 5:33:33 AM4/5/16
to IronJacamar Developers
I've committed implementations and tests for capacity concepts using new classloading functionality


any comments and feedback are more than welcome

regards
S.

Jesper Pedersen

unread,
Apr 5, 2016, 8:52:44 AM4/5/16
to IronJacamar Developers
Good to see it in :)

I think the policies ported over from 1.2 will still cover the most frequent use-cases with SizeIncrementer and TimedoutDecrementer taking the lead.
Reply all
Reply to author
Forward
0 new messages