【问题标题】:How to query session bean pool size on websphere 8如何在 websphere 8 上查询会话 bean 池大小
【发布时间】:2015-01-15 12:05:04
【问题描述】:

是否可以通过编程方式查询 websphere 中的当前会话 bean 池状态?

【问题讨论】:

    标签: ejb websphere websphere-8 session-bean


    【解决方案1】:

    以编程方式访问池大小的唯一方法是启用 PMI 并获取相应 EJB MBean 的 stats 属性。对于无状态会话 bean,即 type=StatelessSessionBean MBean 的 MethodReadyCount 统计信息。对于消息驱动或实体 bean,这是 type=MessageDrivenBean MBean 的 PooledCount 统计信息。有关 EJB PMI 统计信息的更多信息,请参阅知识中心中的 Enterprise bean counters 主题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-23
      • 1970-01-01
      • 2011-04-26
      • 1970-01-01
      • 1970-01-01
      • 2016-11-26
      • 1970-01-01
      • 2013-08-02
      相关资源
      最近更新 更多