zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3269) Testable facade would benefit from a queueEvent() method
Date Sun, 03 Feb 2019 22:42:00 GMT
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)

Mime
View raw message