| Package | Description |
|---|---|
| org.jppf.client | |
| org.jppf.client.event |
Support for connection pool events,
connection status notifications,
job lifecycle events
and job queue events in the JPPF client.
|
| Modifier and Type | Method and Description |
|---|---|
JPPFConnectionPool |
JPPFClient.awaitActiveConnectionPool()
Wait until there is at least one connection pool with at least one connection in the
ACTIVE status. |
JPPFConnectionPool |
JPPFClient.awaitConnectionPool(JPPFClientConnectionStatus... statuses)
Wait until there is at least one connection pool with at least one connection in one of the specified statuses.
|
JPPFConnectionPool |
JPPFClient.awaitConnectionPool(long timeout,
JPPFClientConnectionStatus... statuses)
Wait until at least one connection pool with at least one connection in one of the specified statuses,
or until the specified timeout to expire, whichever happens first.
|
JPPFConnectionPool |
JPPFClient.awaitWorkingConnectionPool()
|
JPPFConnectionPool |
AbstractJPPFClient.findConnectionPool(int poolId)
Find the connection pool with the specified id.
|
JPPFConnectionPool |
AbstractJPPFClient.findConnectionPool(String name)
Find the connection pool with the specified id.
|
JPPFConnectionPool |
JPPFClientConnection.getConnectionPool()
Get the pool this connection belongs to.
|
JPPFConnectionPool |
AbstractJPPFClient.getConnectionPool()
Get a pool with at least one
active connection and with the highest possible priority. |
| Modifier and Type | Method and Description |
|---|---|
List<JPPFConnectionPool> |
JPPFClient.awaitConnectionPools(org.jppf.utils.ComparisonOperator poolOperator,
int expectedPools,
org.jppf.utils.ComparisonOperator connectionOperator,
int expectedConnections,
long timeout,
JPPFClientConnectionStatus... statuses)
Wait until at least the specified expected connection pools satisfy the condition where the number of connections with the specified statuses
satisfy the specified connection operator, or until the specified timeout expires, whichever happens first.
|
List<JPPFConnectionPool> |
JPPFClient.awaitConnectionPools(org.jppf.utils.ComparisonOperator operator,
int expectedConnections,
long timeout,
JPPFClientConnectionStatus... statuses)
Wait until there is at least one connection pool where the number of connections with the specified statuses
satisfy the specified condition, or until the specified timeout expires, whichever happens first.
|
List<JPPFConnectionPool> |
JPPFClient.awaitConnectionPools(long timeout,
ConnectionPoolFilter<JPPFConnectionPool> filter)
Wait until there is at least one connection pool where at least one connections passes the specified filter,
or until the specified timeout expires, whichever happens first.
|
List<JPPFConnectionPool> |
JPPFClient.awaitConnectionPools(long timeout,
JPPFClientConnectionStatus... statuses)
Wait until at least one connection pool with at least one connection in one of the specified statuses,
or until the specified timeout to expire, whichever happens first.
|
List<JPPFConnectionPool> |
JPPFClient.awaitWorkingConnectionPools()
|
List<JPPFConnectionPool> |
JPPFClient.awaitWorkingConnectionPools(long timeout)
|
List<JPPFConnectionPool> |
AbstractJPPFClient.findConnectionPools(ConnectionPoolFilter<JPPFConnectionPool> filter)
Find the connection pools that pass the specified filter.
|
List<JPPFConnectionPool> |
AbstractJPPFClient.findConnectionPools(JPPFClientConnectionStatus... statuses)
Find the connection pools that have a least one connection matching one of the specified statuses.
|
List<JPPFConnectionPool> |
AbstractJPPFClient.findConnectionPools(String pattern)
Find the connection pools whose name matches the specified
regular expression. |
List<JPPFConnectionPool> |
AbstractJPPFClient.getConnectionPools()
Get a list of existing connection pools, ordered by descending priority.
|
List<JPPFConnectionPool> |
AbstractJPPFClient.getConnectionPools(int priority)
Get a set of existing connection pools with the specified priority.
|
| Modifier and Type | Method and Description |
|---|---|
List<JPPFConnectionPool> |
JPPFClient.awaitConnectionPools(long timeout,
ConnectionPoolFilter<JPPFConnectionPool> filter)
Wait until there is at least one connection pool where at least one connections passes the specified filter,
or until the specified timeout expires, whichever happens first.
|
List<JPPFConnectionPool> |
AbstractJPPFClient.findConnectionPools(ConnectionPoolFilter<JPPFConnectionPool> filter)
Find the connection pools that pass the specified filter.
|
| Modifier and Type | Method and Description |
|---|---|
JPPFConnectionPool |
ConnectionPoolEvent.getConnectionPool()
Get the source of this event.
|
Copyright © 2005-2019 JPPF Team.