Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

/**
* Copiable mark interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.io.PrintWriter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.io.Serializable;

import com.ceresdb.common.util.Strings;
import io.ceresdb.common.util.Strings;

/**
* A IP address with port.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit;

import com.ceresdb.common.util.Clock;
import com.ceresdb.common.util.MetricsUtil;
import com.ceresdb.common.util.internal.ThrowUtil;
import io.ceresdb.common.util.Clock;
import io.ceresdb.common.util.MetricsUtil;
import io.ceresdb.common.util.internal.ThrowUtil;

import com.codahale.metrics.Timer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

/**
* Service life cycle mark interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.util.concurrent.TimeUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

/**
* System properties option keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.util.stream.Stream;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

/**
* A tenant for CeresDB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common;
package io.ceresdb.common;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.ceresdb.common.OptKeys;
import com.ceresdb.common.util.Files;
import com.ceresdb.common.util.SystemPropertyUtil;
import io.ceresdb.common.OptKeys;
import io.ceresdb.common.util.Files;
import io.ceresdb.common.util.SystemPropertyUtil;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

import java.io.File;
import java.nio.file.Paths;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

/**
* Signal types.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

/**
* This is the signal handler interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

import java.util.ArrayList;
import java.util.HashMap;
Expand All @@ -24,9 +24,9 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.ceresdb.common.OptKeys;
import com.ceresdb.common.util.ServiceLoader;
import com.ceresdb.common.util.SystemPropertyUtil;
import io.ceresdb.common.OptKeys;
import io.ceresdb.common.util.ServiceLoader;
import io.ceresdb.common.util.SystemPropertyUtil;

/**
* A tool class for loading and registering all signals.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.signal;
package io.ceresdb.common.signal;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.ceresdb.common.util.Platform;
import io.ceresdb.common.util.Platform;

/**
* A signal helper, provides ANSI/ISO C signal support.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

import com.ceresdb.common.Tenant;
import io.ceresdb.common.Tenant;

/**
* A tool class for generating auth headers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import com.ceresdb.common.OptKeys;
import io.ceresdb.common.OptKeys;

/**
* Utility for cpu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.Executor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.CancellationException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.Executor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.io.PrintStream;
import java.text.DateFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.RejectedExecutionHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

/**
* An object pool.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.Locale;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.ceresdb.common.OptKeys;
import io.ceresdb.common.OptKeys;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

/**
* An shared object pool with ref count.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ceresdb.common.util;
package io.ceresdb.common.util;

import java.util.IdentityHashMap;
import java.util.Map;
Expand Down
Loading