|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmx4odp.pool.AbstractContextPool
org.jmx4odp.pool.RoundRobbinContextPool
public class RoundRobbinContextPool
This pool is the ROUND ROBIN implementation.
| Field Summary |
|---|
| Fields inherited from interface org.jmx4odp.pool.ContextPool |
|---|
DOWN_SERVICE_RETRY_WAIT, INSTANCE_ID, SERVICE_NAME, SERVICE_STATUS, STATUS_DOWN, STATUS_DOWN_DATE, STATUS_UNKOWN, STATUS_UP |
| Constructor Summary | |
|---|---|
RoundRobbinContextPool()
Creates a new instance of RoundRobinedServicePool |
|
| Method Summary | |
|---|---|
javax.naming.Context |
getAvailableContext()
This is a ROUND ROBIN pool. |
| Methods inherited from class org.jmx4odp.pool.AbstractContextPool |
|---|
addContext, checkIfContextIsUp, getContext, getContext, getContext, getNumberOfServices, getServiceName, getStatus, getStatus, getStatus, markContextDown, markContextUp, markDown, markDown, markDown, markUp, markUp, markUp, setServiceName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoundRobbinContextPool()
| Method Detail |
|---|
public javax.naming.Context getAvailableContext()
throws NoObjectsInPoolException
getAvailableContext in interface ContextPoolgetAvailableContext in class AbstractContextPoolNoObjectsInPoolException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||