JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request JPPF-364  -  Add notifications for client connection pools state changes
Posted Feb 10, 2015 - updated Jun 18, 2015
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Client
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 5.1
Issue description
We propose to replace (deprecate) the ClientListener API, which notifies of new and removed client connections, with notfications for client connections pools, with the following events;
public interface ConnectionPoolListener {
  void poolAdded(ConnectionPoolEvent event);
  void poolRemoved(ConnectionPoolEvent event);
  void sizeUpdated(ConnectionPoolEvent event);
}
Furthermore, each connection pool would send notifications of connection events, replacing the ClientConnectionStatusListener API:
public interface ConnectionListener {
  void connectionAdded(ConnectionEvent event);
  void connectionRemoved(ConnectionEvent event);
  void statusChanged(ConnectionEvent event);
}

#4
Comment posted by
 lolo4j
Jun 18, 11:04
Implemented in trunk revision 3754