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

mp911de / lettuce / 1331
88%
master: 92%

Build:
Build:
LAST BUILD BRANCH: 5.x
DEFAULT BRANCH: master
Ran 07 Feb 2017 09:42PM UTC
Jobs 1
Files 337
Run time 22s
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

pending completion
1331

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

Jobs
ID Job ID Ran Files Coverage
2 1331.2 (PROFILE=netty-41) 07 Feb 2017 09:42PM UTC 0
87.96
Travis Job 1331.2
Source Files on build 1331
  • Tree
  • List 0
  • Changed 17
  • Source Changed 11
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1331
  • 3408dddd on github
  • Prev Build on issue/432-command-method-batching (#1328)
  • Next Build on issue/432-command-method-batching (#1332)
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

© 2025 Coveralls, Inc