APISonar


net.oschina.j2cache.Command.json

> net > oschina > j2cache > Command > json
net APIs oschina APIs j2cache APIs Command APIs json APIs

Example 1
public void publish(Command cmd) {
        if (!isActive && config.getL2CacheOpen()) {
            cmd.setSrc(LOCAL_COMMAND_ID);
            redisTemplate.convertAndSend(this.channel, cmd.json());
        }
    }