org.jboss.ejb.plugins
Interface AbstractInstancePoolMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
AbstractInstancePool, EntityInstancePool, MessageDrivenInstancePool, SingletonStatelessSessionInstancePool, StatefulSessionInstancePool, StatelessSessionInstancePool

public interface AbstractInstancePoolMBean
extends org.jboss.system.ServiceMBean

MBean interface.


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 void clear()
          Clear the pool - does not remove inuse contexts
 long getAvailableCount()
          Get the current avaiable count from the strict max view.
 int getCurrentSize()
           
 int getMaxSize()
           
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getCurrentSize

int getCurrentSize()

getMaxSize

int getMaxSize()

getAvailableCount

long getAvailableCount()
Get the current avaiable count from the strict max view. If there is no strict max then this will be Long.MAX_VALUE to indicate there is no restriction.

Returns:
the current avaiable count from the strict max view

clear

void clear()
Clear the pool - does not remove inuse contexts



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.