• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mp911de / lettuce / 1331 / 2
88%
master: 92%

Build:
Build:
LAST BUILD BRANCH: 5.x
DEFAULT BRANCH: master
Ran 07 Feb 2017 09:42PM UTC
Files 337
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Feb 2017 09:38PM UTC coverage: 87.956% (+0.2%) from 87.745%
PROFILE=netty-41

push

travis-ci

mp911de
Dynamic API: Support command batching

Lettuce now supports command batching for dynamic command interfaces. Command batching executes commands in a deferred nature. This also means that at the time of invocation no result is available. Batching can be only used with synchronous methods without a return value, void or asynchronous methods returning a RedisFuture. Reactive command batching is not supported because reactive executed commands maintain an own subscription lifecycle that is decoupled from command method batching.

Command errors that occur during batching cause a BatchException that contains the failed commands.

@BatchSize(50)
interface MyCommands extends Commands {

  void set(String key, String value);

  Future<String> get(String key);

  void set(String key, String value, CommandBatching flush);
}

MyCommands commands = …

commands.set("key", "value");
commands.set("key", "value", CommandBatching.flush());

13255 of 15070 relevant lines covered (87.96%)

0.88 hits per line

Source Files on job 1331.2 (PROFILE=netty-41)
  • Tree
  • List 0
  • Changed 17
  • Source Changed 11
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1331
  • Travis Job 1331.2
  • 3408dddd on github
  • Prev Job for PROFILE=netty-41 on issue/432-command-method-batching (#1328.2)
  • Next Job for PROFILE=netty-41 on issue/432-command-method-batching (#1332.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc