class RedisGlobalOnlineRepository implements GlobalOnlineRepository {

    @Override
    public void decrement(ServerGroup group) {
        redisTransactions.runTransaction(jedis -> {
            jedis.hincrBy(HASH_TABLE, group.getName(), -1);
        });
    }

}