Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yuokada committed Mar 16, 2024
1 parent b891a41 commit b376aa1
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.yuokada;
package io.github.yuokada.memcached;

import io.github.yuokada.subcommand.FlushCommand;
import io.github.yuokada.subcommand.GenerateCommand;
import io.github.yuokada.subcommand.StatsCommand;
import io.github.yuokada.memcached.subcommand.FlushCommand;
import io.github.yuokada.memcached.subcommand.GenerateCommand;
import io.github.yuokada.memcached.subcommand.StatsCommand;
import io.quarkus.runtime.Quarkus;
import io.quarkus.runtime.annotations.QuarkusMain;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.yuokada;
package io.github.yuokada.memcached;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Produces;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.yuokada;
package io.github.yuokada.memcached;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.yuokada.subcommand;
package io.github.yuokada.memcached.subcommand;

import static io.github.yuokada.MemcachedClientProvider.getMemcachedClient;
import static io.github.yuokada.memcached.MemcachedClientProvider.getMemcachedClient;

import io.github.yuokada.EntryCommand;
import io.github.yuokada.memcached.EntryCommand;
import java.io.IOException;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package io.github.yuokada.subcommand;

import static io.github.yuokada.MemcachedClientProvider.getMemcachedClient;
package io.github.yuokada.memcached.subcommand;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import io.github.yuokada.EntryCommand;
import io.github.yuokada.util.FakeDataGenerator;
import io.github.yuokada.memcached.EntryCommand;
import io.github.yuokada.memcached.MemcachedClientProvider;
import io.github.yuokada.memcached.util.FakeDataGenerator;
import java.io.IOException;
import java.net.SocketAddress;
import java.util.Map;
Expand Down Expand Up @@ -46,7 +45,7 @@ public class GenerateCommand implements Callable<Integer> {

@Override
public Integer call() throws IOException {
MemcachedClient client = getMemcachedClient(
MemcachedClient client = MemcachedClientProvider.getMemcachedClient(
entryCommand.configEndpoint,
entryCommand.clusterPort
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package io.github.yuokada.subcommand;

import static io.github.yuokada.MemcachedClientProvider.getMemcachedClient;
package io.github.yuokada.memcached.subcommand;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import io.github.yuokada.EntryCommand;
import io.github.yuokada.StatsSubCommands;
import io.github.yuokada.memcached.EntryCommand;
import io.github.yuokada.memcached.StatsSubCommands;
import io.github.yuokada.memcached.MemcachedClientProvider;
import java.io.IOException;
import java.net.SocketAddress;
import java.util.ArrayList;
Expand Down Expand Up @@ -35,7 +34,7 @@ public class StatsCommand implements Callable<Integer> {

@Override
public Integer call() throws IOException {
MemcachedClient client = getMemcachedClient(
MemcachedClient client = MemcachedClientProvider.getMemcachedClient(
entryCommand.configEndpoint, entryCommand.clusterPort);
Map<SocketAddress, Map<String, String>> stats = fetchStats(client, operation);
Objects.requireNonNull(stats);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.yuokada.util;
package io.github.yuokada.memcached.util;

import net.datafaker.Faker;

Expand Down

0 comments on commit b376aa1

Please sign in to comment.