Package org.apache.synapse.commons.beanstalk.enterprise

# Interface EnterpriseBeanstalkViewMBean

All Known Implementing Classes:
  `EnterpriseBeanstalkView`

public interface EnterpriseBeanstalkViewMBean
MBean interface that enables monitoring/managing beanstalks via JMX.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `cleanExpiredStubsNow()`
  `String`
  `getBeanstalkName()`
  `int`
  `getCachedStatefulStubCount()`
  `int`
  `getCachedStatelessStubCount()`
  `Map`
  `getStatefulStubCacheLastAccessTimes()`
  `Map`
  `getStatelessStubCacheLastAccessTimes()`
  `void`
  `removeStatefulStub(String className, String sessionId)`
  `void`
  `removeStatelessStub(String className)`

- ## Method Details

  - ### getBeanstalkName

    String getBeanstalkName()

  - ### getCachedStatelessStubCount

    int getCachedStatelessStubCount()

  - ### getCachedStatefulStubCount

    int getCachedStatefulStubCount()

  - ### getStatelessStubCacheLastAccessTimes

    Map getStatelessStubCacheLastAccessTimes()

  - ### getStatefulStubCacheLastAccessTimes

    Map getStatefulStubCacheLastAccessTimes()

  - ### cleanExpiredStubsNow

    void cleanExpiredStubsNow() throws Exception
    Throws:
      `Exception`

  - ### removeStatelessStub

    void removeStatelessStub(String className)

  - ### removeStatefulStub

    void removeStatefulStub(String className, String sessionId)