Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

addSignal(Signal, List<SignalHandler>) - Static method in class io.greptime.common.signal.SignalHelper
Registers user signal handlers.
afterExecute(Runnable, Throwable) - Method in class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
afterExecute(Runnable, Throwable) - Method in class io.greptime.common.util.LogThreadPoolExecutor
 
afterExecute(Runnable, Throwable) - Method in class io.greptime.common.util.MetricScheduledThreadPoolExecutor
 
afterExecute(Runnable, Throwable) - Method in class io.greptime.common.util.MetricThreadPoolExecutor
 
AVAILABLE_CPUS - Static variable in class io.greptime.common.Keys
 

B

beforeExecute(Thread, Runnable) - Method in class io.greptime.common.util.MetricScheduledThreadPoolExecutor
 
beforeExecute(Thread, Runnable) - Method in class io.greptime.common.util.MetricThreadPoolExecutor
 
build() - Method in class io.greptime.common.util.MetricReporter.Builder
Builds a MetricReporter with the given properties.
build() - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
build() - Method in class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
BytesStealer - Class in com.google.protobuf
Try to get the bytes form ByteString with no copy.
BytesStealer() - Constructor for class com.google.protobuf.BytesStealer
 
ByteStringHelper - Class in com.google.protobuf
A ByteString helper.
ByteStringHelper() - Constructor for class com.google.protobuf.ByteStringHelper
 

C

classIterator() - Method in class io.greptime.common.util.ServiceLoader
 
Clock - Class in io.greptime.common.util
A clock implementation which default returns the current millis.
Clock() - Constructor for class io.greptime.common.util.Clock
 
Clock.UserTimeClock - Class in io.greptime.common.util
A clock implementation which returns the current millis.
close(T) - Method in interface io.greptime.common.util.ObjectPool.Resource
Destroy the given instance.
com.google.protobuf - package com.google.protobuf
 
contains(String) - Static method in class io.greptime.common.util.SystemPropertyUtil
Returns true if and only if the system property with the specified key exists.
convertDurationsTo(TimeUnit) - Method in class io.greptime.common.util.MetricReporter.Builder
Convert durations to the given time unit.
convertRatesTo(TimeUnit) - Method in class io.greptime.common.util.MetricReporter.Builder
Convert rates to the given time unit.
Copiable<T> - Interface in io.greptime.common
Copiable mark interface.
copy() - Method in interface io.greptime.common.Copiable
Copy current object(deep-clone).
coreThreads(Integer) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
coreThreads(Integer) - Method in class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
counter(Object) - Static method in class io.greptime.common.util.MetricsUtil
Return the Counter registered under this name; or create and register a new Counter if none is registered.
counter(Object...) - Static method in class io.greptime.common.util.MetricsUtil
Return the Counter registered under this name; or create and register a new Counter if none is registered.
Cpus - Class in io.greptime.common.util
Utility for cpu.
Cpus() - Constructor for class io.greptime.common.util.Cpus
 
cpus() - Static method in class io.greptime.common.util.Cpus
The configured number of available processors.
create() - Method in interface io.greptime.common.util.ObjectPool.Resource
Create a new instance of the resource.

D

DB_NAME - Static variable in class io.greptime.common.Keys
 
defaultClock() - Static method in class io.greptime.common.util.Clock
The default clock to use.
DefaultPrinter(PrintWriter) - Constructor for class io.greptime.common.Display.DefaultPrinter
 
DirectExecutor - Class in io.greptime.common.util
A direct executor.
DirectExecutor(String) - Constructor for class io.greptime.common.util.DirectExecutor
 
disabledMetricAttributes(Set<MetricAttribute>) - Method in class io.greptime.common.util.MetricReporter.Builder
Don't report the passed metric attributes for all metrics (e.g.
Display - Interface in io.greptime.common
Components that implement this interface need to be able to display their own state and output state information via the display method.
display(Display.Printer) - Method in interface io.greptime.common.Display
Display self state.
Display.DefaultPrinter - Class in io.greptime.common
 
Display.Printer - Interface in io.greptime.common
 
drain() - Method in class io.greptime.common.util.SerializingExecutor
If no other thread is running this method, run all tasks in the queue in the current thread, otherwise do nothing.
duration(long) - Method in class io.greptime.common.util.Clock
 

E

emptyToNull(String) - Static method in class io.greptime.common.util.Strings
Returns the given string if it is nonempty; null otherwise.
enableMetric(Boolean) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
enableMetric(Boolean) - Method in class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
Endpoint - Class in io.greptime.common
An IP address with port.
Endpoint(String, int) - Constructor for class io.greptime.common.Endpoint
 
ensure(boolean) - Static method in class io.greptime.common.util.Ensures
Ensures the truth of an expression involving one or more parameters to the calling method.
ensure(boolean, Object) - Static method in class io.greptime.common.util.Ensures
Ensures the truth of an expression involving one or more parameters to the calling method.
ensure(boolean, String, Object...) - Static method in class io.greptime.common.util.Ensures
Ensures the truth of an expression involving one or more parameters to the calling method.
ensureInitialized() - Method in interface io.greptime.common.Lifecycle
 
ensureNonNull(T) - Static method in class io.greptime.common.util.Ensures
Checks that the specified object reference is not null.
ensureNonNull(T, String) - Static method in class io.greptime.common.util.Ensures
Checks that the specified object reference is not null and throws a customized NullPointerException if it is.
ensureNonNull(T, String, Object...) - Static method in class io.greptime.common.util.Ensures
Checks that the specified object reference is not null and throws a customized NullPointerException if it is.
Ensures - Class in io.greptime.common.util
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
equals(Object) - Method in class io.greptime.common.Endpoint
 
execute(Runnable) - Method in class io.greptime.common.util.DirectExecutor
 
execute(Runnable) - Method in class io.greptime.common.util.MetricExecutor
 
execute(Runnable) - Method in class io.greptime.common.util.SerializingExecutor
 
executeLater(Runnable) - Method in class io.greptime.common.util.SerializingExecutor
Adds a task that will be run when SerializingExecutor.drain() is called.
ExecutorServiceHelper - Class in io.greptime.common.util
Executor service shutdown helper.
ExecutorServiceHelper() - Constructor for class io.greptime.common.util.ExecutorServiceHelper
 

F

FileOutputHelper - Class in io.greptime.common.signal
File output helper.
Files - Class in io.greptime.common.util
File utilities.
Files() - Constructor for class io.greptime.common.util.Files
 
FileSignal - Enum in io.greptime.common.signal
File signal.
FileSignalHelper - Class in io.greptime.common.signal
 
FileSignalHelper() - Constructor for class io.greptime.common.signal.FileSignalHelper
 
filter(MetricFilter) - Method in class io.greptime.common.util.MetricReporter.Builder
Only report metrics which match the given filter.
find(String) - Method in class io.greptime.common.util.ServiceLoader
 
finish() - Static method in class io.greptime.common.util.ThreadPoolMetricRegistry
 
first() - Method in class io.greptime.common.util.ServiceLoader
 
firstClass() - Method in class io.greptime.common.util.ServiceLoader
 
firstOrDefault(Supplier<S>) - Method in class io.greptime.common.util.ServiceLoader
 
formattedFor(Locale) - Method in class io.greptime.common.util.MetricReporter.Builder
Format numbers for the given Locale.
formattedFor(TimeZone) - Method in class io.greptime.common.util.MetricReporter.Builder
Use the given TimeZone for the time.
forRegistry(MetricRegistry) - Static method in class io.greptime.common.util.MetricReporter
fsync(File) - Static method in class io.greptime.common.util.Files
Calls fsync on a file or directory.

G

get(ObjectPool.Resource<T>) - Method in class io.greptime.common.util.RcResourceHolder
 
get() - Method in class io.greptime.common.util.RefCell
 
get() - Static method in class io.greptime.common.util.StringBuilderHelper
 
get(String) - Static method in class io.greptime.common.util.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to null if the property access fails.
get(String, String) - Static method in class io.greptime.common.util.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getAddr() - Method in class io.greptime.common.Endpoint
 
getBool(String, boolean) - Static method in class io.greptime.common.util.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getComment() - Method in enum io.greptime.common.signal.FileSignal
 
getFilename() - Method in enum io.greptime.common.signal.FileSignal
 
getInt(String, int) - Static method in class io.greptime.common.util.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getLong(String, long) - Static method in class io.greptime.common.util.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getName() - Method in class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
getName() - Method in class io.greptime.common.util.LogThreadPoolExecutor
 
getObject() - Method in interface io.greptime.common.util.ObjectPool
Get an object from the pool.
getObject() - Method in class io.greptime.common.util.RcObjectPool
 
getOutDir() - Static method in class io.greptime.common.signal.FileOutputHelper
 
getOutputFile(String) - Static method in class io.greptime.common.signal.FileOutputHelper
 
getPort() - Method in class io.greptime.common.Endpoint
 
getThreadGroup() - Method in class io.greptime.common.util.NamedThreadFactory
 
getTick() - Method in class io.greptime.common.util.Clock
Returns the current time tick.
getTick() - Method in class io.greptime.common.util.Clock.UserTimeClock
 
GRPC_CONN_RESET_THRESHOLD - Static variable in class io.greptime.common.Keys
 
GRPC_POOL_CORE_WORKERS - Static variable in class io.greptime.common.Keys
 
GRPC_POOL_MAXIMUM_WORKERS - Static variable in class io.greptime.common.Keys
 

H

handle(String) - Method in interface io.greptime.common.signal.SignalHandler
Handle the given signal.
hashCode() - Method in class io.greptime.common.Endpoint
 
histogram(Object) - Static method in class io.greptime.common.util.MetricsUtil
Return the Histogram registered under this name; or create and register a new Histogram if none is registered.
histogram(Object...) - Static method in class io.greptime.common.util.MetricsUtil
Return the Histogram registered under this name; or create and register a new Histogram if none is registered.

I

ignoreFileOutputSignal() - Static method in class io.greptime.common.signal.FileSignalHelper
 
ignoreSignal(FileSignal) - Static method in class io.greptime.common.signal.FileSignalHelper
 
init(T) - Method in interface io.greptime.common.Lifecycle
Initialize the service with options.
Into<Output> - Interface in io.greptime.common
A value-to-value conversion.
into() - Method in interface io.greptime.common.Into
 
io.greptime.common - package io.greptime.common
 
io.greptime.common.signal - package io.greptime.common.signal
 
io.greptime.common.util - package io.greptime.common.util
 
isBlank(String) - Static method in class io.greptime.common.util.Strings
Checks if a string is whitespace, empty ("") or null.
isMac() - Static method in class io.greptime.common.util.Platform
Return true if the JVM is running on Mac OSX
isNotBlank(String) - Static method in class io.greptime.common.util.Strings
Checks if a string is not empty (""), not null and not whitespace only.
isNullOrEmpty(String) - Static method in class io.greptime.common.util.Strings
Returns true if the given string is null or is the empty string.
isValid() - Method in class com.google.protobuf.BytesStealer
 
isWindows() - Static method in class io.greptime.common.util.Platform
Return true if the JVM is running on Windows
iterator() - Method in class io.greptime.common.util.ServiceLoader
 

K

keepAliveSeconds(Long) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
Keys - Class in io.greptime.common
System properties option keys

L

Lifecycle<T> - Interface in io.greptime.common
Service life cycle mark interface.
list() - Static method in class io.greptime.common.signal.FileSignalHelper
 
load() - Static method in class io.greptime.common.signal.SignalHandlersLoader
Load and register all signals.
load(Class<S>) - Static method in class io.greptime.common.util.ServiceLoader
 
load(Class<S>, ClassLoader) - Static method in class io.greptime.common.util.ServiceLoader
 
LogScheduledThreadPoolExecutor - Class in io.greptime.common.util
A ThreadPoolExecutor that can additionally schedule tasks to run after a given delay with a logger witch can print error message for failed execution.
LogScheduledThreadPoolExecutor(int, String) - Constructor for class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
LogScheduledThreadPoolExecutor(int, ThreadFactory, String) - Constructor for class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
LogScheduledThreadPoolExecutor(int, RejectedExecutionHandler, String) - Constructor for class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
LogScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler, String) - Constructor for class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
LogThreadPoolExecutor - Class in io.greptime.common.util
A ExecutorService that witch can print error message for failed execution.
LogThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler, String) - Constructor for class io.greptime.common.util.LogThreadPoolExecutor
 

M

maximumThreads(Integer) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
meter(Object) - Static method in class io.greptime.common.util.MetricsUtil
Return the Meter registered under this name; or create and register a new Meter if none is registered.
meter(Object...) - Static method in class io.greptime.common.util.MetricsUtil
Return the Meter registered under this name; or create and register a new Meter if none is registered.
MetricExecutor - Class in io.greptime.common.util
A Executor that with a timer metric which aggregates timing durations and provides duration statistics.
MetricExecutor(Executor, String) - Constructor for class io.greptime.common.util.MetricExecutor
 
metricRegistry() - Static method in class io.greptime.common.util.MetricsUtil
Return the global registry of metric instances.
metricRegistry() - Static method in class io.greptime.common.util.ThreadPoolMetricRegistry
Return the global registry of metric instances.
MetricReporter - Class in io.greptime.common.util
A reporter which outputs metrics to a PrintStream, like System.out.
MetricReporter.Builder - Class in io.greptime.common.util
A builder for MetricReporter instances.
MetricScheduledThreadPoolExecutor - Class in io.greptime.common.util
A ThreadPoolExecutor that can additionally schedule tasks to run after a given delay with a timer metric which aggregates timing durations and provides duration statistics.
MetricScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler, String) - Constructor for class io.greptime.common.util.MetricScheduledThreadPoolExecutor
 
MetricsUtil - Class in io.greptime.common.util
In GreptimeDB client, metrics are required.
MetricThreadPoolExecutor - Class in io.greptime.common.util
A ExecutorService that with a timer metric which aggregates timing durations and provides duration statistics.
MetricThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler, String) - Constructor for class io.greptime.common.util.MetricThreadPoolExecutor
 
mkdirIfNotExists(String) - Static method in class io.greptime.common.util.Files
Creates the directory named by this pathname if not exists.

N

named(Object) - Static method in class io.greptime.common.util.MetricsUtil
 
named(Object...) - Static method in class io.greptime.common.util.MetricsUtil
 
namedById(String, String...) - Static method in class io.greptime.common.util.MetricsUtil
 
NamedThreadFactory - Class in io.greptime.common.util
Named thread factory.
NamedThreadFactory(String) - Constructor for class io.greptime.common.util.NamedThreadFactory
 
NamedThreadFactory(String, boolean) - Constructor for class io.greptime.common.util.NamedThreadFactory
 
NamedThreadFactory(String, int) - Constructor for class io.greptime.common.util.NamedThreadFactory
 
NamedThreadFactory(String, boolean, int) - Constructor for class io.greptime.common.util.NamedThreadFactory
 
newBuilder() - Static method in class io.greptime.common.util.ThreadPoolUtil
 
newScheduledBuilder() - Static method in class io.greptime.common.util.ThreadPoolUtil
 
newScheduledThreadPool(String, boolean, int, ThreadFactory, RejectedExecutionHandler) - Static method in class io.greptime.common.util.ThreadPoolUtil
Creates a new ScheduledThreadPoolExecutor with the given initial parameters.
newThread(Runnable) - Method in class io.greptime.common.util.NamedThreadFactory
 
newThreadPool(String, boolean, int, int, long, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Static method in class io.greptime.common.util.ThreadPoolUtil
Creates a new MetricThreadPoolExecutor or LogThreadPoolExecutor with the given initial parameters.
nullToEmpty(String) - Static method in class io.greptime.common.util.Strings
Returns the given string if it is non-null; the empty string otherwise.

O

ObjectPool<T> - Interface in io.greptime.common.util
An object pool.
ObjectPool.Resource<T> - Interface in io.greptime.common.util
Defines a resource, and the way to create and destroy instances of it.
of(String, int) - Static method in class io.greptime.common.Endpoint
 
OS_NAME - Static variable in class io.greptime.common.Keys
 
outputTo(PrintStream) - Method in class io.greptime.common.util.MetricReporter.Builder
Write to the given PrintStream.

P

parse(String) - Static method in class io.greptime.common.Endpoint
 
parse(String) - Static method in enum io.greptime.common.signal.FileSignal
 
Platform - Class in io.greptime.common.util
Platform utilities.
Platform() - Constructor for class io.greptime.common.util.Platform
 
PoolBuilder() - Constructor for class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
poolName(String) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
poolName(String) - Method in class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
prefixedWith(String) - Method in class io.greptime.common.util.MetricReporter.Builder
Prefix all metric names with the given string.
print(Object) - Method in class io.greptime.common.Display.DefaultPrinter
 
print(Object) - Method in interface io.greptime.common.Display.Printer
Prints an object.
println(Object) - Method in class io.greptime.common.Display.DefaultPrinter
 
println(Object) - Method in interface io.greptime.common.Display.Printer
Prints an Object and then terminates the line.

R

RcObjectPool<T> - Class in io.greptime.common.util
An shared object pool with ref count.
RcObjectPool(ObjectPool.Resource<T>) - Constructor for class io.greptime.common.util.RcObjectPool
 
RcResourceHolder<T> - Class in io.greptime.common.util
Resource holder with ref count.
RcResourceHolder() - Constructor for class io.greptime.common.util.RcResourceHolder
 
RefCell<T> - Class in io.greptime.common.util
A reference cell.
RefCell() - Constructor for class io.greptime.common.util.RefCell
 
rejectedHandler(RejectedExecutionHandler) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
rejectedHandler(RejectedExecutionHandler) - Method in class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
release(ObjectPool.Resource<T>, T) - Method in class io.greptime.common.util.RcResourceHolder
 
reload() - Method in class io.greptime.common.util.ServiceLoader
 
report() - Method in class io.greptime.common.util.MetricReporter
Report the current values of all metrics in the registry.
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class io.greptime.common.util.MetricReporter
 
REPORT_PERIOD - Static variable in class io.greptime.common.Keys
 
reportImmediately() - Static method in class io.greptime.common.util.MetricsUtil
 
returnObject(T) - Method in interface io.greptime.common.util.ObjectPool
Return the object to the pool.
returnObject(T) - Method in class io.greptime.common.util.RcObjectPool
 
RW_LOGGING - Static variable in class io.greptime.common.Keys
 

S

ScheduledPoolBuilder() - Constructor for class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
sealByteArray(ByteString) - Static method in class com.google.protobuf.ByteStringHelper
Steal the byte[] from ByteString, if failed, then call ByteString.toByteArray().
SerializingExecutor - Class in io.greptime.common.util
A SerializingExecutor is a queue of tasks that run in sequence.
SerializingExecutor(String) - Constructor for class io.greptime.common.util.SerializingExecutor
 
SerializingExecutor(String, Thread.UncaughtExceptionHandler) - Constructor for class io.greptime.common.util.SerializingExecutor
 
ServiceLoader<S> - Class in io.greptime.common.util
A simple service-provider loading facility (SPI).
set(T) - Method in class io.greptime.common.util.RefCell
 
setProperty(String, String) - Static method in class io.greptime.common.util.SystemPropertyUtil
Sets the value of the Java system property with the specified key
SharedScheduledPool - Class in io.greptime.common.util
Like rust: pub type SharedScheduledPool = RcObjectPool
SharedScheduledPool(ObjectPool.Resource<ScheduledExecutorService>) - Constructor for class io.greptime.common.util.SharedScheduledPool
 
SharedThreadPool - Class in io.greptime.common.util
Like rust: pub type SharedThreadPool = RcObjectPool
SharedThreadPool(ObjectPool.Resource<ExecutorService>) - Constructor for class io.greptime.common.util.SharedThreadPool
 
shutdownAndAwaitTermination(ExecutorService) - Static method in class io.greptime.common.util.ExecutorServiceHelper
 
shutdownAndAwaitTermination(ExecutorService, long) - Static method in class io.greptime.common.util.ExecutorServiceHelper
The following method shuts down an ExecutorService in two phases, first by calling shutdown to reject incoming tasks, and then calling shutdownNow, if necessary, to cancel any lingering tasks.
shutdownGracefully() - Method in interface io.greptime.common.Lifecycle
Dispose the resources for service.
SIG_OUT_DIR - Static variable in class io.greptime.common.Keys
 
Signal - Enum in io.greptime.common.signal
Signal types.
signal() - Method in interface io.greptime.common.signal.SignalHandler
The type of signal will be handled.
SignalHandler - Interface in io.greptime.common.signal
This is the signal handler interface.
SignalHandlersLoader - Class in io.greptime.common.signal
A tool class for loading and registering all signals.
SignalHandlersLoader() - Constructor for class io.greptime.common.signal.SignalHandlersLoader
 
SignalHelper - Class in io.greptime.common.signal
A signal helper, provides ANSI/ISO C signal support.
signalName() - Method in enum io.greptime.common.signal.Signal
 
sort() - Method in class io.greptime.common.util.ServiceLoader
 
SPI - Annotation Type in io.greptime.common
Service provide interface annotation.
split(String, char) - Static method in class io.greptime.common.util.Strings
Splits the provided text into an array, separator specified.
split(String, char, boolean) - Static method in class io.greptime.common.util.Strings
Splits the provided text into an array, separator specified, if true, preserving all tokens, including empty tokens created by adjacent separators.
start() - Static method in class io.greptime.common.util.ThreadPoolMetricRegistry
 
startScheduledReporter(long, TimeUnit) - Static method in class io.greptime.common.util.MetricsUtil
 
stopScheduledReporterAndDestroy() - Static method in class io.greptime.common.util.MetricsUtil
 
stream() - Method in interface io.greptime.common.Streamable
Returns a sequential Stream over the elements.
Streamable<T> - Interface in io.greptime.common
Streamable interface.
StringBuilderHelper - Class in io.greptime.common.util
Reuse StringBuilder based on ThreadLocal.
StringBuilderHelper() - Constructor for class io.greptime.common.util.StringBuilderHelper
 
Strings - Class in io.greptime.common.util
Static utility methods pertaining to String or CharSequence instances.
supportSignal() - Static method in class io.greptime.common.signal.SignalHelper
 
SystemPropertyUtil - Class in io.greptime.common.util
A collection of utility methods to retrieve and parse the values of the Java system properties.

T

terminated() - Method in class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
terminated() - Method in class io.greptime.common.util.LogThreadPoolExecutor
 
threadFactory(ThreadFactory) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
threadFactory(ThreadFactory) - Method in class io.greptime.common.util.ThreadPoolUtil.ScheduledPoolBuilder
 
ThreadPoolMetricRegistry - Class in io.greptime.common.util
A global timer metric registry for thread pool, use threadLocal to pass timer context.
ThreadPoolMetricRegistry() - Constructor for class io.greptime.common.util.ThreadPoolMetricRegistry
 
ThreadPoolUtil - Class in io.greptime.common.util
Factory and utility methods for creating ThreadPoolExecutor and ScheduledThreadPoolExecutor.
ThreadPoolUtil.PoolBuilder - Class in io.greptime.common.util
 
ThreadPoolUtil.ScheduledPoolBuilder - Class in io.greptime.common.util
 
timer(Object) - Static method in class io.greptime.common.util.MetricsUtil
Return the Timer registered under this name; or create and register a new Timer if none is registered.
timer(Object...) - Static method in class io.greptime.common.util.MetricsUtil
Return the Timer registered under this name; or create and register a new Timer if none is registered.
toString() - Method in class io.greptime.common.Endpoint
 
toString() - Method in class io.greptime.common.util.DirectExecutor
 
toString() - Method in class io.greptime.common.util.LogScheduledThreadPoolExecutor
 
toString() - Method in class io.greptime.common.util.LogThreadPoolExecutor
 
toString() - Method in class io.greptime.common.util.MetricExecutor
 
toString() - Method in class io.greptime.common.util.SerializingExecutor
 
toString() - Method in class io.greptime.common.util.ServiceLoader
Returns a string describing this service.
toString(Object) - Static method in class io.greptime.common.util.Strings
 
truncate() - Static method in class io.greptime.common.util.StringBuilderHelper
 

U

USE_OS_SIGNAL - Static variable in class io.greptime.common.Keys
 
UserTimeClock() - Constructor for class io.greptime.common.util.Clock.UserTimeClock
 

V

value() - Method in class com.google.protobuf.BytesStealer
 
valueOf(String) - Static method in enum io.greptime.common.signal.FileSignal
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.greptime.common.signal.Signal
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.greptime.common.signal.FileSignal
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.greptime.common.signal.Signal
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_KEY - Static variable in class io.greptime.common.Keys
 

W

withClock(Clock) - Method in class io.greptime.common.util.MetricReporter.Builder
Use the given Clock instance for the time.
workQueue(BlockingQueue<Runnable>) - Method in class io.greptime.common.util.ThreadPoolUtil.PoolBuilder
 
wrap(byte[]) - Static method in class com.google.protobuf.ByteStringHelper
Wrap a byte array into a ByteString.
wrap(byte[], int, int) - Static method in class com.google.protobuf.ByteStringHelper
Wrap a byte array into a ByteString.
wrap(ByteBuffer) - Static method in class com.google.protobuf.ByteStringHelper
Wrap a byte buffer into a ByteString.
wrapRunnable(Runnable) - Method in class io.greptime.common.util.NamedThreadFactory
 
wrapThread(ThreadGroup, Runnable, String) - Method in class io.greptime.common.util.NamedThreadFactory
 
write(byte) - Method in class com.google.protobuf.BytesStealer
 
write(byte[], int, int) - Method in class com.google.protobuf.BytesStealer
 
write(ByteBuffer) - Method in class com.google.protobuf.BytesStealer
 
writeLazy(byte[], int, int) - Method in class com.google.protobuf.BytesStealer
 
writeLazy(ByteBuffer) - Method in class com.google.protobuf.BytesStealer
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2023. All rights reserved.