/var/adm/blog
Wednesday Sep 16, 2009
gearman-java 0.03 released
gearman-java 0.03 was released today. You can grab the bits at https://launchpad.net/gearman-java/trunk/0.03 .
The release essentially consists of the following:
- Cleanup findbugs, pmd, and checkstyle warnings as well as misc. build improvements.
- Changed signature of the addServerMethod in GearmanClient and GearmanWorker (as well as their implementations) to return a boolean to indicate success or failure of attempt. Attmepts to add a server that can not be contacted will now return false as opposed to throwing a runtime exception.
- ClientImpl driveRequestTil
lState now drivesIO on all sessions that are selected for IO instead of driving IO for only the session to which the request belongs. - Allow gearman functions to control the name that will be used to register the function with the server when using the default function factory (factory was ignoring the name of the function and always registering function with its class name).
- Fixed bug #417004 (ReverseClient example shows improper use of client).
- Fixed bug #417214 (Worker performs slow on linux client). Connection between worker and job server did not have TCP_NODELAY set, causing performance problems on linux. Changed connection settings to mirror settings in libgearmand.
- Fixed bug #417208 (AbstractGearma
nFunction does not correctly handle failing or misbehaving functions). Fix resulted in changing the signature for GearmanFunction interface. The GearmanFunction interface now extends Callable< GearmanJobResul t>, clients of this interface will need to be changed to reflect this. - Fixed bug #418927. We can now send a receive payloads larger than the default buffer sizes
Posted at 11:21AM Sep 16, 2009 by Eric Lambert in Gearman | Comments[0]
Comments: