APISonar


io.lettuce.core.api.sync.RedisCommands.time

> io > lettuce > core > api > sync > RedisCommands > time
io APIs lettuce APIs core APIs api APIs sync APIs RedisCommands APIs time APIs

Example 1
private final RedisCommands<String, String> redis;

    void time() {

        List<String> time = redis.time();
        assertThat(time).hasSize(2);

        Long.parseLong(time.get(0));
        Long.parseLong(time.get(1));
    }