You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2019/02/03 22:42:00 UTC

[jira] [Created] (ZOOKEEPER-3269) Testable facade would benefit from a queueEvent() method

Jordan Zimmerman created ZOOKEEPER-3269:
-------------------------------------------

             Summary: Testable facade would benefit from a queueEvent() method
                 Key: ZOOKEEPER-3269
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3269
             Project: ZooKeeper
          Issue Type: New Feature
          Components: java client
            Reporter: Jordan Zimmerman
             Fix For: 3.6.0


For testing and other reasons it would be very useful to add a way to inject an event into ZooKeeper's event queue. ZooKeeper already has the {{Testable}} for features such as this (low level, backdoor, testing, etc.). This queueEvent method would be particularly helpful to Apache Curator and we'd very much appreciate its inclusion.

The method should have the signature:

{code}
void queueEvent(WatchedEvent event);
{code}

Calling this would have the affect of queueing an event into the clients queue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)