[zeromq-dev] [PATCH] jzmq patch to include Recovery Interval in msec

Bob Beaty drbobbeaty at gmail.com
Tue Dec 7 18:05:37 CET 2010

  I was working on reducing the memory usage of the standard ZMQ_PUB socket, and wanted to be able to set the ZMQ_RECOVERY_IVL value to less than a second. Currently, it is an int64_t of seconds, so can't represent anything less than a second.
  Steven had an idea for allowing sub-second recovery intervals, and Martin asked me to come up with a patch. I just sent it in this morning, but it's working wonderfully in my code.
  So it's very new, and not in any tagged version (yet).


On Dec 7, 2010, at 10:55 AM, gonzalo diethelm wrote:

>> Maintainers,
>>  I've created a patch for the jzmq Java client library for ZeroMQ for
> the
>> addition of the ZMQ_RECOVERY_IVL_MSEC option in the set and get socket
>> options. I've added in the convenience methods, just like for the
>> "seconds" argument, and copied the docs from the C docs into the
> JavaDocs.
>>  I think it's clean, and we're using it currently.
> When (on which version) was the ZMQ_RECOVERY_IVL_MSEC option introduced
> to 0MQ?
> -- 
> Gonzalo Diethelm
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list