Open glassfishrobot opened 8 years ago
Introduce a annotation so standardize the bean pool size.
Minimal requirement: configuration of the max-pool-size:
javax.ejb.MaxPoolSize:
public @interface MaxPoolSize
{ int value() default -1; }
public @interface MinPoolSize
{ int value() default 0; }
Motivation: max-pool-size is the easiest possible way to introduce component-specific "throttling".
See also discussion: https://java.net/projects/ejb-spec/lists/users/archive/2016-01/message/0
[3.2]
Reported by abien
This issue was imported from java.net JIRA EJB_SPEC-128
Introduce a annotation so standardize the bean pool size.
Minimal requirement: configuration of the max-pool-size:
javax.ejb.MaxPoolSize:
public @interface MaxPoolSize
{ int value() default -1; }
public @interface MinPoolSize
{ int value() default 0; }
Motivation: max-pool-size is the easiest possible way to introduce component-specific "throttling".
See also discussion: https://java.net/projects/ejb-spec/lists/users/archive/2016-01/message/0
Affected Versions
[3.2]