Uses of Enum Class
org.jppf.client.JPPFClientConnectionStatus
Packages that use JPPFClientConnectionStatus
Package
Description
Support for the new load-balancing of local versus remote execution on the client side.
Support for connection pool events,
connection status notifications,
job lifecycle events
and job queue events in the JPPF client.
-
Uses of JPPFClientConnectionStatus in org.jppf.client
Methods in org.jppf.client that return JPPFClientConnectionStatusModifier and TypeMethodDescriptionJPPFClientConnectionImpl.getStatus()static JPPFClientConnectionStatus[]JPPFClientConnectionStatus.terminatedStatuses()Get the statuses indicating that a connection is in a terminated state.static JPPFClientConnectionStatusReturns the enum constant of this class with the specified name.static JPPFClientConnectionStatus[]JPPFClientConnectionStatus.values()Returns an array containing the constants of this enum class, in the order they are declared.static JPPFClientConnectionStatus[]JPPFClientConnectionStatus.workingStatuses()Get the statuses indicating that a connection is in a working state.Methods in org.jppf.client with parameters of type JPPFClientConnectionStatusModifier and TypeMethodDescriptionJPPFConnectionPool.awaitConnection(JPPFClientConnectionStatus... statuses) Wait for a connection to be in one of the specified states.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.JPPFClient.awaitConnectionPool(JPPFClientConnectionStatus... statuses) Wait until there is at least one connection pool with at least one connection in one of the specified statuses.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.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.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.JPPFConnectionPool.awaitConnections(org.jppf.utils.ComparisonOperator operator, int nbConnections, long timeout, JPPFClientConnectionStatus... statuses) Wait for the specified number of connections to be in one of the specified states, or the specified timeout to expire, whichever happens first.JPPFConnectionPool.awaitConnections(org.jppf.utils.ComparisonOperator operator, int nbConnections, JPPFClientConnectionStatus... statuses) Wait for the specified number of connections to be in one of the specified states.intAbstractClientConnectionPool.connectionCount(JPPFClientConnectionStatus... statuses) Get the number of connections in this pool that have one of the psecified statuses.AbstractJPPFClient.findConnectionPools(JPPFClientConnectionStatus... statuses) Find the connection pools that have a least one connection matching one of the specified statuses.AbstractJPPFClient.getClientConnection(int priority, JPPFClientConnectionStatus... statuses) Get a connection with the specified priority that matches one of the specified statuses.AbstractClientConnectionPool.getConnections(JPPFClientConnectionStatus... statuses) Get a list of connections held by this pool whose status is one of the specified statuses.voidJPPFClientConnectionImpl.setStatus(JPPFClientConnectionStatus status) Method parameters in org.jppf.client with type arguments of type JPPFClientConnectionStatusModifier and TypeMethodDescriptionbooleanJPPFClientConnectionStatus.isOneOf(List<JPPFClientConnectionStatus> statuses) Determine whether this status is one of those specified as input. -
Uses of JPPFClientConnectionStatus in org.jppf.client.balancer
Fields in org.jppf.client.balancer declared as JPPFClientConnectionStatusModifier and TypeFieldDescriptionprotected JPPFClientConnectionStatusChannelWrapper.oldStatusThe previous status, if any.Methods in org.jppf.client.balancer that return JPPFClientConnectionStatusModifier and TypeMethodDescriptionChannelWrapper.getOldStatus()AbstractChannelWrapperRemote.getStatus()abstract JPPFClientConnectionStatusChannelWrapper.getStatus()Get the status of this connection.ChannelWrapperLocal.getStatus()Methods in org.jppf.client.balancer with parameters of type JPPFClientConnectionStatusModifier and TypeMethodDescriptionprotected voidChannelWrapperLocal.fireStatusChanged(JPPFClientConnectionStatus oldStatus, JPPFClientConnectionStatus newStatus) Notify all listeners that the status of this connection has changed.voidChannelWrapper.setOldStatus(JPPFClientConnectionStatus oldStatus) voidAbstractChannelWrapperRemote.setStatus(JPPFClientConnectionStatus status) voidChannelWrapperLocal.setStatus(JPPFClientConnectionStatus status) -
Uses of JPPFClientConnectionStatus in org.jppf.client.event
Methods in org.jppf.client.event that return JPPFClientConnectionStatusModifier and TypeMethodDescriptionClientConnectionStatusEvent.getOldStatus()Get the connection status before the change.ClientConnectionStatusHandler.getStatus()Get the status of this connection.Methods in org.jppf.client.event with parameters of type JPPFClientConnectionStatusModifier and TypeMethodDescriptionvoidClientConnectionStatusHandler.setStatus(JPPFClientConnectionStatus status) Set the status of this connection.Constructors in org.jppf.client.event with parameters of type JPPFClientConnectionStatusModifierConstructorDescriptionClientConnectionStatusEvent(JPPFClientConnection source, JPPFClientConnectionStatus oldStatus) Initialize this event with a client connection as source.