- AbstractConfiguration - Class in net.gdface.cli
-
参数配置抽象类
- AbstractConfiguration() - Constructor for class net.gdface.cli.AbstractConfiguration
-
- AbstractThriftMetadataBuilder - Class in com.facebook.swift.codec.metadata
-
- AbstractThriftMetadataBuilder(ThriftCatalog, Type) - Constructor for class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- accept(String) - Method in interface net.gdface.utils.ClassResourceUtils.FileFilter
-
Tests if a specified file should be included in a file list.
- add(long) - Method in class net.gdface.utils.TimeCostProbe
-
计时结果相加
- addBuilderMethods() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- addCallback(ListenableFuture<V>, FutureCallback<? super V>) - Method in class net.gdface.thrift.ClientFactory
-
- addCallback(ListenableFuture<V>, FutureCallback<? super V>, Executor) - Static method in class net.gdface.thrift.ThriftUtils
-
- addConstructors(Type) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- addCorsHandlerIfHttp() - Method in class com.facebook.swift.service.ThriftServerService
-
添加CORS Handler和XHR编解码器
- addCount() - Method in class net.gdface.utils.TimeCostProbe
-
- addDefaultCoercions(Class<?>) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
Add the @ToThrift and @FromThrift coercions in the specified class to this catalog.
- addError(String, Object...) - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- addError(Throwable, String, Object...) - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- addField(Field, boolean, boolean) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- addFields(Class<?>, boolean, boolean) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- addListener(Runnable, Executor) - Method in class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
-
- addMethod(Type, Method, boolean, boolean) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- addMethods(Type, boolean, boolean) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- addProperties(Map<String, ? extends Object>) - Method in class net.gdface.cli.Context.Builder
-
- addProperty(String, T) - Method in class net.gdface.cli.Context.Builder
-
- addThriftType(ThriftType) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- addWarning(String, Object...) - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- addWarning(Throwable, String, Object...) - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- AIX - Static variable in class net.gdface.utils.Platform
-
- allowCredentials() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
By default cookies are not included in CORS requests, but this method will enable cookies to
be added to CORS requests.
- allowedRequestHeaders() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Returns the allowed set of Request Headers.
- allowedRequestHeaders(Set<String>) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Specifies the if headers that should be returned in the CORS 'Access-Control-Allow-Headers'
response header.
- allowedRequestHeaders(String...) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Specifies the if headers that should be returned in the CORS 'Access-Control-Allow-Headers'
response header.
- allowedRequestMethods() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Returns the allowed set of Request Methods.
- allowedRequestMethods(Set<HttpMethod>) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Specifies the allowed set of HTTP Request Methods that should be returned in the
CORS 'Access-Control-Request-Method' response header.
- allowedRequestMethods(HttpMethod...) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Specifies the allowed set of HTTP Request Methods that should be returned in the
CORS 'Access-Control-Request-Method' response header.
- ANDROID - Static variable in class net.gdface.utils.Platform
-
- ANY_ORIGIN - Static variable in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsHandler
-
- apply(NetworkInterface) - Method in enum net.gdface.thrift.NetworkUtil.Filter
-
Deprecated.
- apply(L) - Method in class net.gdface.thrift.Swift2ThriftyExceptionTransformer
-
- apply(L) - Method in class net.gdface.thrift.Swift2ThriftyStructTransformer
-
- apply(L) - Method in class net.gdface.thrift.ThriftExceptionTransformer
-
- apply(L) - Method in class net.gdface.thrift.ThriftStructTransformer
-
- apply(L) - Method in class net.gdface.thrift.Thrifty2SwiftStructTransformer
-
- apply(F) - Method in interface net.gdface.utils.CollectionUtils.Function
-
function interface
- apply(L) - Method in class net.gdface.utils.EnumTransformer
-
- apply(NetworkInterface) - Method in enum net.gdface.utils.NetworkUtil.Filter
-
- apply() - Method in class net.gdface.utils.ResourcePool
-
(阻塞式)申请当前线程使用的资源对象,不可跨线程使用
InterruptedException
封装到RuntimeException
抛出
- applyChecked() - Method in class net.gdface.utils.ResourcePool
-
(阻塞式)申请当前线程使用的资源对象,不可跨线程使用
- applyInstance(Class<T>) - Method in class net.gdface.thrift.ClientFactory
-
- ARCH - Static variable in class net.gdface.utils.Platform
-
Current platform architecture.
- array(ThriftType) - Static method in class com.facebook.swift.codec.metadata.ThriftType
-
- asByteArray(double[]) - Static method in class net.gdface.utils.BufferUtils
-
double[] TO byte[]
- asByteArray(float[]) - Static method in class net.gdface.utils.BufferUtils
-
float[] TO byte[]
- asByteArray(int[]) - Static method in class net.gdface.utils.BufferUtils
-
int[] TO byte[]
- asByteArray(long[]) - Static method in class net.gdface.utils.BufferUtils
-
long[] TO byte[]
- asByteArray(short[]) - Static method in class net.gdface.utils.BufferUtils
-
short[] TO byte[]
- asByteBuffer(DoubleBuffer) - Static method in class net.gdface.utils.BufferUtils
-
DoubleBuffer
TO ByteBuffer
- asByteBuffer(FloatBuffer) - Static method in class net.gdface.utils.BufferUtils
-
FloatBuffer
TO ByteBuffer
- asByteBuffer(IntBuffer) - Static method in class net.gdface.utils.BufferUtils
-
IntBuffer
TO ByteBuffer
- asByteBuffer(LongBuffer) - Static method in class net.gdface.utils.BufferUtils
-
LongBuffer
TO ByteBuffer
- asByteBuffer(ShortBuffer) - Static method in class net.gdface.utils.BufferUtils
-
ShortBuffer
TO ByteBuffer
- asDoubleArray(byte[]) - Static method in class net.gdface.utils.BufferUtils
-
byte[] TO double[]
- asDualTransformer(CollectionUtils.Function<L, R>, CollectionUtils.Function<R, L>) - Static method in class net.gdface.utils.CollectionUtils
-
- asFloatArray(byte[]) - Static method in class net.gdface.utils.BufferUtils
-
byte[] TO float[]
- asFromRightTransformer(CollectionUtils.DualTransformer<L, R>) - Static method in class net.gdface.utils.CollectionUtils
-
- asIntArray(byte[]) - Static method in class net.gdface.utils.BufferUtils
-
byte[] TO int[]
- asLongArray(byte[]) - Static method in class net.gdface.utils.BufferUtils
-
byte[] TO long[]
- Assert - Class in net.gdface.utils
-
断言类
- Assert() - Constructor for class net.gdface.utils.Assert
-
- assertValidCode(byte[], byte[]) - Static method in class net.gdface.utils.Assert
-
- asShortArray(byte[]) - Static method in class net.gdface.utils.BufferUtils
-
byte[] TO short[]
- asToRightTransformer(CollectionUtils.DualTransformer<L, R>) - Static method in class net.gdface.utils.CollectionUtils
-
- autoClose - Variable in class net.gdface.image.BaseLazyImage
-
- C_LIBRARY_NAME - Static variable in class net.gdface.utils.Platform
-
Canonical name of this platform's C runtime library.
- cancel(boolean) - Method in class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
-
- canonicalize(Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns a type that is functionally equal but not necessarily equal
according to Object.equals()
.
- cast(Object, Type, Type) - Method in class net.gdface.utils.BaseTypeTransformer
-
将value
转换为right
指定的类型
- CAST_TYPES - Static variable in class net.gdface.thrift.ThriftUtils
-
- catalog - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- CATALOG - Static variable in class net.gdface.thrift.ThriftUtils
-
- causeClass - Variable in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- causeFields - Variable in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- ChainedParamReader - Class in org.apache.bytecode
-
Description: In ParamReader class, user cannot get inherited method parameter
from the class they passed in for performance reasons This class
is walks up the inheritance chain.
- ChainedParamReader(Class) - Constructor for class org.apache.bytecode.ChainedParamReader
-
Processes a given class's parameter names.
- changedProperties(Properties) - Method in class net.gdface.utils.Configuration
-
返回如果指定了 Properties.defaults
,则返回所有相对增加或修改的值
否则返回所有值
- checkNotNull(T) - Static method in class net.gdface.utils.CollectionUtils
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, Object) - Static method in class net.gdface.utils.CollectionUtils
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNullElement(C) - Static method in class net.gdface.utils.CollectionUtils
-
Ensures that a collection reference passed as a parameter to the calling method not exists null element if it's not null.
- ClassLoaderUtils - Class in net.gdface.utils
-
- ClassLoaderUtils() - Constructor for class net.gdface.utils.ClassLoaderUtils
-
- ClassLoaderUtils.ParentStrategy - Enum in net.gdface.utils
-
parent
为
null
时策略
defaultParentLoader
使用default parent class loader,参见
URLClassLoader.newInstance(URL[])
threadContextLoader
使用当前线程的Thread Context ClassLoader作为parent,参见
Thread.getContextClassLoader()
currentClassLoader
使用当前类(
ClassLoaderUtils
)的class loader
- ClassReader - Class in org.apache.bytecode
-
This is the class file reader for obtaining the parameter names
for declared methods in a class.
- ClassReader(byte[], Map) - Constructor for class org.apache.bytecode.ClassReader
-
- ClassResourceUtils - Class in net.gdface.utils
-
classpath resource 工具
- ClassResourceUtils() - Constructor for class net.gdface.utils.ClassResourceUtils
-
- ClassResourceUtils.FileFilter - Interface in net.gdface.utils
-
文件名过滤器接口
- clearComparators() - Static method in class net.gdface.utils.BeanRelativeUtilits.FieldComparator
-
- CLIENT_SUFFIX - Static variable in class net.gdface.thrift.ThriftUtils
-
- clientAddressAsString() - Static method in class net.gdface.thrift.ServiceUtil
-
- ClientFactory - Class in net.gdface.thrift
-
Factory class for creating client instance
Example:
- ClientFactory() - Constructor for class net.gdface.thrift.ClientFactory
-
- ClientFactory.ListenableFutureDecorator<A,V> - Class in net.gdface.thrift
-
- close() - Method in class net.gdface.image.BaseLazyImage
-
释放资源
- close() - Method in class net.gdface.image.LazyImage
-
释放资源
- close(R) - Method in class net.gdface.utils.ResourcePool
-
资源对象放回队列时调用,子类可重写此方法
- closeObjectPool(Class<T>) - Method in class net.gdface.thrift.ClientFactory
-
- cmd(String) - Method in class net.gdface.utils.CmdExecutor
-
添加一条普通命令
- CmdConfig - Interface in net.gdface.cli
-
- CmdExecutor - Class in net.gdface.utils
-
linux命令行执行器
- CmdExecutor() - Constructor for class net.gdface.utils.CmdExecutor
-
- CmdExecutor(String) - Constructor for class net.gdface.utils.CmdExecutor
-
- cmdSeparator(String) - Method in class net.gdface.utils.CmdExecutor
-
- coerceTo(Type) - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- CollectionUtils - Class in net.gdface.utils
-
- CollectionUtils.DualTransformer<L,R> - Interface in net.gdface.utils
-
- CollectionUtils.Function<F,T> - Interface in net.gdface.utils
-
- com.facebook.swift.codec - package com.facebook.swift.codec
-
- com.facebook.swift.codec.internal.coercion - package com.facebook.swift.codec.internal.coercion
-
- com.facebook.swift.codec.metadata - package com.facebook.swift.codec.metadata
-
- com.facebook.swift.service - package com.facebook.swift.service
-
- com.google.inject.internal - package com.google.inject.internal
-
- CommonCliConstants - Interface in net.gdface.cli
-
- compact() - Method in class net.gdface.image.Fingerprint
-
返回压缩存储的指纹数据
- compactHEX() - Method in class net.gdface.image.Fingerprint
-
返回压缩存储的指纹数据(HEX字符串)
- compare(String) - Method in class net.gdface.image.Fingerprint
-
- compare(byte[]) - Method in class net.gdface.image.Fingerprint
-
与指定的指纹比较相似度
- compare(Image) - Method in class net.gdface.image.Fingerprint
-
与指定图像比较相似度
- compare(Fingerprint) - Method in class net.gdface.image.Fingerprint
-
比较指纹相似度
- compare(Image, Image) - Static method in class net.gdface.image.Fingerprint
-
比较两个图像内容的相似度
- compare(Object, Object) - Method in class net.gdface.utils.BeanRelativeUtilits.FieldComparator
-
- compareCompact(byte[]) - Method in class net.gdface.image.Fingerprint
-
与指定的压缩格式指纹比较相似度
- compareCompact(byte[], byte[]) - Static method in class net.gdface.image.Fingerprint
-
压缩格式指纹比较
- Configuration - Class in net.gdface.utils
-
读取配置文件(properties)中的参数
- Configuration(ClassLoader, String) - Constructor for class net.gdface.utils.Configuration
-
使用指定的ClassLoader加载properties文件propFile
- Configuration(File) - Constructor for class net.gdface.utils.Configuration
-
从File
构造对象
- Configuration() - Constructor for class net.gdface.utils.Configuration
-
- Configuration(Properties) - Constructor for class net.gdface.utils.Configuration
-
- Configuration(URL) - Constructor for class net.gdface.utils.Configuration
-
- ConfigUtils - Class in net.gdface.utils
-
配置文件读取工具类
- ConfigUtils() - Constructor for class net.gdface.utils.ConfigUtils
-
- CONNECTION_LIMIT_OPTION_DESC - Static variable in interface net.gdface.cli.ThriftServiceConstants
-
- CONNECTION_LIMIT_OPTION_LONG - Static variable in interface net.gdface.cli.ThriftServiceConstants
-
- constructorInjections - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- constructStruct(Map<Short, TypeValue>, ThriftStructMetadata) - Static method in class net.gdface.thrift.ThriftUtils
-
构造metadata
指定类型的实例并填充字段
参见 com.facebook.swift.codec.internal.reflection.ReflectionThriftStructCodec#constructStruct(Map)
- constructStruct(Map<String, TypeValue>) - Method in class net.gdface.thrift.ThriftyStructMetadata
-
根据字段值构造实例
- Context - Class in net.gdface.cli
-
上下文数据管理类
- Context() - Constructor for class net.gdface.cli.Context
-
- Context(Map<String, Object>) - Constructor for class net.gdface.cli.Context
-
- Context(Context) - Constructor for class net.gdface.cli.Context
-
- Context.Builder - Class in net.gdface.cli
-
- CONTROL_OPTIONS - Static variable in interface net.gdface.cli.CommonCliConstants
-
- convertHost(String) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
- convertHost(String) - Static method in class net.gdface.utils.NetworkUtil
-
- convertName(String, boolean) - Static method in class net.gdface.utils.NameStringUtils
-
- copy(Image, int) - Static method in class net.gdface.image.ImageUtil
-
从源BufferedImage
对象创建一份拷贝
- copy(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
创建BufferedImage.TYPE_3BYTE_BGR
类型的拷贝
- copy(T, T) - Static method in class net.gdface.utils.BeanPropertyUtils
-
- copyToTempFromJar(String, Class<?>) - Static method in class net.gdface.utils.NativeUtils
-
copy file from current JAR archive to system temporary directory
The file from JAR is copied into system temporary directory and then loaded.
- copyToTempFromJar(String) - Static method in class net.gdface.utils.NativeUtils
-
- create(int, TProtocolFactory) - Method in class com.facebook.swift.service.ThriftHttpCodecFactory
-
- create(byte[]) - Static method in class net.gdface.image.LazyImage
-
创建并打开对象
- create(BufferedImage) - Static method in class net.gdface.image.LazyImage
-
创建对象
- create(File, String) - Static method in class net.gdface.image.LazyImage
-
用本地图像文件创建对象
- create(T) - Static method in class net.gdface.image.LazyImage
-
多源创建对象
- create(byte[]) - Method in interface net.gdface.image.LazyImageFactory
-
创建并打开对象
- create(File, String) - Method in interface net.gdface.image.LazyImageFactory
-
用本地图像文件创建对象
- create(T) - Method in interface net.gdface.image.LazyImageFactory
-
多源创建对象
- create(byte[]) - Method in class net.gdface.image.LazyImageFactoryByBitmap
-
- create(File, String) - Method in class net.gdface.image.LazyImageFactoryByBitmap
-
- create(T) - Method in class net.gdface.image.LazyImageFactoryByBitmap
-
- create(byte[]) - Method in class net.gdface.image.LazyImageFactoryByBufferedImage
-
- create(File, String) - Method in class net.gdface.image.LazyImageFactoryByBufferedImage
-
- create(T) - Method in class net.gdface.image.LazyImageFactoryByBufferedImage
-
- createCachedPool(Integer, Integer, Long, Integer, String) - Static method in class net.gdface.utils.DefaultExecutorProvider
-
根据配置文件指定的参数创建通用任务线程池对象
- createExitingCachedPool() - Method in class net.gdface.utils.DefaultExecutorProvider
-
- createExitingScheduledPool() - Method in class net.gdface.utils.DefaultExecutorProvider
-
- createFromCompact(byte[]) - Static method in class net.gdface.image.Fingerprint
-
- createFromCompact(String) - Static method in class net.gdface.image.Fingerprint
-
- createFromImage(T) - Static method in class net.gdface.image.Fingerprint
-
- createFromImageNoThrow(T) - Static method in class net.gdface.image.Fingerprint
-
- createJPEGThumbnail(byte[], int, int, double) - Static method in class net.gdface.image.ImageUtil
-
对原图创建JPEG格式的缩略图
- createRGBAImage(byte[], int, int) - Static method in class net.gdface.image.ImageUtil
-
从RGBA格式图像矩阵数据创建一个BufferedImage
该方法删除了alpha通道
- createRGBImage(byte[], int, int) - Static method in class net.gdface.image.ImageUtil
-
从RGB格式图像矩阵数据创建一个BufferedImage
- createScheduledPool(Integer, String) - Static method in class net.gdface.utils.DefaultExecutorProvider
-
根据配置文件指定的参数创建定时任务线程池对象
- createThumbnail(BufferedImage, int, int, double) - Static method in class net.gdface.image.ImageUtil
-
对原图创建缩略图对象
如果原图尺寸小于指定的缩略图尺寸则直接返回原图对象的副本
- createURI(String) - Static method in class net.gdface.utils.FaceUtilits
-
将URL
字符串转换为URI
对象
在转换过程中会将自动对不符合URI规范的字符进行编码,
在转换过程中先从字符串生成URL
对象,如果String
不能转换成URL对象,则抛出异常
- cutMatrix(byte[], Rectangle, Rectangle) - Static method in class net.gdface.image.ImageUtil
-
从matrix矩阵中截取rect指定区域的子矩阵
- GenericArrayTypeImpl(Type) - Constructor for class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- get() - Method in class com.facebook.swift.service.ThriftXHRDecoder
-
- get() - Method in class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
-
- get(long, TimeUnit) - Method in class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
-
- get() - Method in class net.gdface.utils.BaseTls
-
- get() - Method in class net.gdface.utils.BaseVolatile
-
- get() - Method in interface net.gdface.utils.ILazyInitVariable
-
返回延迟初始化的 T 实例
- getActualTypeArguments() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- getActualTypeArguments() - Method in class net.gdface.utils.ParameterizedTypeImpl
-
- getAllDeclaredFields(Class<?>) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getAllDeclaredMethods(Class<?>) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getAppName() - Method in class net.gdface.cli.BaseAppConfig
-
- getArrayOfType(Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getAxis2Conf() - Static method in class net.gdface.utils.FaceUtilitsX
-
通过环境变量CATALINA_HOME,获取axis2/WEB-INF/conf的位置
如果没有定义CATALINA_HOME或没有找到/webapps/axis2/WEB-INF/conf,则抛出FileNotFoundException
- getBuilderClass() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- getBuilderClass() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getBuilderMethod() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getBuilderType() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getByEnumConstant() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- getByEnumValue() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- getByteBuffer(T) - Static method in class net.gdface.utils.FaceUtilits
-
将数据对象src转换为ByteBuffer
- getByteBufferNotEmpty(T) - Static method in class net.gdface.utils.FaceUtilits
-
- getBytes(T) - Static method in class net.gdface.utils.FaceUtilits
-
将数据对象
src
转换为字节数组(byte[])
src
的数据类型可以是byte[],
InputStream
,
ByteBuffer
,
String
(base64编码),
File
,
URL
,
URI
否则抛出
IllegalArgumentException
对象转换为InputStream或byte[]时,可能会抛出
IOException
当
src
为
File
或
FileInputStream
时,使用NIO方式(
FaceUtilits.readBytes(FileInputStream)
)读取
- getBytes(Class) - Static method in class org.apache.bytecode.ClassReader
-
Loads the bytecode for a given class, by using the class's defining
classloader and assuming that for a class named P.C, the bytecodes are
in a resource named /P/C.class.
- getBytesInBuffer(ByteBuffer) - Static method in class net.gdface.utils.BaseTypeTransformer
-
返回buffer中所有字节(position~limit),不改变buffer状态
- getBytesInBuffer(ByteBuffer) - Static method in class net.gdface.utils.FaceUtilits
-
返回buffer中所有字节(position~limit),不改变buffer状态
- getBytesInBuffer(ByteBuffer) - Static method in class net.gdface.utils.TypeTransformer
-
Deprecated.
返回buffer中所有字节(position~limit),不改变buffer状态
- getBytesNotEmpty(T) - Static method in class net.gdface.utils.FaceUtilits
-
- getCause(Throwable) - Static method in class net.gdface.utils.FaceUtilits
-
- getCauseClass() - Method in exception net.gdface.thrift.exception.BaseServiceException
-
return cause exception class name
- getCauseClass() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
return cause exception class name
- getCauseClass() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
return cause exception class name
- getCauseFields() - Method in exception net.gdface.thrift.exception.BaseServiceException
-
return JSON string of declared field values if cause is subclass of this class
and override jsonOfDeclaredFields
method, otherwise return empty string
- getCauseFields() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
return declared field values JSON string of cause
user JSON parser deserialize to exception instance
Example:
- getCauseFields() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
return JSON string of declared field values if cause is subclass of this class
and override jsonOfDeclaredFields
method, otherwise return empty string
- getCmdLineSyntax() - Method in class net.gdface.cli.BaseAppConfig
-
- getCoercion() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getComparator(String) - Static method in class net.gdface.utils.BeanRelativeUtilits.FieldComparator
-
- getConnectionLimit() - Method in class net.gdface.cli.ThriftServiceConfig
-
- getConstructor() - Method in class com.facebook.swift.codec.metadata.ThriftConstructorInjection
-
- getConstructor(Class<T>, Class<?>...) - Static method in class net.gdface.thrift.ThriftUtils
-
- getConstructorInjection() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getConstructorInjection() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getContext() - Method in class net.gdface.cli.Context
-
- getCurrentMac(String, int) - Static method in class net.gdface.utils.NetworkUtil
-
获取访问指定host的当前网卡物理地址
- getDecoratorType(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- getDecoratorType(Class<T>) - Static method in class net.gdface.thrift.ThriftUtils
-
返回clazz
对应的装饰类
- getDefaultCoercion(Type) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
Gets the default TypeCoercion (and associated ThriftType) for the specified Java type.
- getDefaultValueMap() - Method in class net.gdface.cli.AbstractConfiguration
-
子类提供命令行参数的默认值
- getDefaultValueMap() - Method in class net.gdface.cli.BaseAppConfig
-
- getDocumentation() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- getDocumentation() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getDocumentation() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getEffectiveClassAnnotations(Class<?>, Class<T>) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getElementsDocumentation() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- getEnumClass() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- getEnumMetadata() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getEnumName() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- getErrors() - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- getExecutor() - Method in class net.gdface.thrift.ClientFactory
-
- getExtraction() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getField(int) - Method in class com.facebook.swift.codec.metadata.DecoratorThriftStructMetadata
-
- getField() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- getField() - Method in class com.facebook.swift.codec.metadata.ThriftFieldInjection
-
- getField(int) - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getFieldKind() - Method in interface com.facebook.swift.codec.metadata.ThriftExtraction
-
- getFieldKind() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- getFieldKind() - Method in class com.facebook.swift.codec.metadata.ThriftFieldInjection
-
- getFieldKind() - Method in interface com.facebook.swift.codec.metadata.ThriftInjection
-
- getFieldKind() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- getFieldKind() - Method in class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- getFields() - Method in class com.facebook.swift.codec.metadata.DecoratorThriftStructMetadata
-
- getFields(FieldKind) - Method in class com.facebook.swift.codec.metadata.DecoratorThriftStructMetadata
-
- getFields(FieldKind) - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getFields() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getFields() - Method in class net.gdface.thrift.ThriftyStructMetadata
-
- getFieldValue(Object, ThriftFieldMetadata) - Static method in class net.gdface.thrift.ThriftUtils
-
获取field
指定的字段值
- getFieldValues(Object, ThriftStructMetadata) - Static method in class net.gdface.thrift.ThriftUtils
-
根据metadata
类型数据获取instance
实例所有的字段值
参见 com.facebook.swift.codec.internal.reflection.ReflectionThriftStructCodec#write(Object, org.apache.thrift.protocol.TProtocol)
- getFiledValues(Object, ThriftStructMetadata) - Static method in class net.gdface.thrift.ThriftUtils
-
- getFilesUnchecked(Class<?>, String, ClassResourceUtils.FileFilter) - Static method in class net.gdface.utils.ClassResourceUtils
-
- getFilesUnchedked(Class<?>, String) - Static method in class net.gdface.utils.ClassResourceUtils
-
- getFooter() - Method in class net.gdface.cli.BaseAppConfig
-
- getFormatName(byte[]) - Static method in class net.gdface.utils.FaceUtilitsX
-
通过 ImageIO.getImageReaders(Object)
获取图像类型,返回文件格式名,如"jpeg","gif"
用于保存图像文件时的后缀名
- getFromThrift() - Method in class com.facebook.swift.codec.metadata.TypeCoercion
-
- getFutureReturnType(Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getGenericComponentType() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- getGlobalExceutor() - Static method in class net.gdface.utils.DefaultExecutorProvider
-
返回全局线程池
- getHeader() - Method in class net.gdface.cli.BaseAppConfig
-
- getHeight() - Method in class net.gdface.image.BaseLazyImage
-
- getHeight() - Method in interface net.gdface.image.ImageMatrix
-
- getHostAndPort() - Method in class net.gdface.thrift.ClientFactory
-
- getId() - Method in interface com.facebook.swift.codec.metadata.ThriftExtraction
-
- getId() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- getId() - Method in class com.facebook.swift.codec.metadata.ThriftFieldInjection
-
- getId() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getId() - Method in interface com.facebook.swift.codec.metadata.ThriftInjection
-
- getId() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- getId() - Method in class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- getIdGetter() - Static method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getIdleConnectionTimeout() - Method in class net.gdface.cli.ThriftServiceConfig
-
- getImgBytes() - Method in class net.gdface.image.BaseLazyImage
-
返回图像数据字节数组
如果图像数据在本地文件中,则方法第一次被调用时将数据从文件中读取到内存
- getInjections() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getInputStream(T) - Static method in class net.gdface.utils.FaceUtilits
-
将对象转换为InputStream
类型可以是byte[],ByteBuffer
,InputStream
,String
(base64编码),File
,URL
,URI
,否则抛出RuntimeException
- getInstance() - Static method in class net.gdface.thrift.TypeTransformer
-
- getInstance(Class<T>, Map<String, Object>) - Static method in class net.gdface.utils.ReflectionUtils
-
- getInstanceByConstructor(Class<T>, Class<? extends T>, Class<?>[], Object[]) - Static method in class net.gdface.utils.ReflectionUtils
-
- getInstanceByConstructor(Class<T>, Class<? extends T>, LinkedHashMap<Class<?>, Object>) - Static method in class net.gdface.utils.ReflectionUtils
-
- getInstanceByStaticMethod(Class<T>, Class<? extends T>, String) - Static method in class net.gdface.utils.ReflectionUtils
-
- getInstanceClass(Class<T>, String) - Static method in class net.gdface.utils.ReflectionUtils
-
- getInterfaceClass() - Method in class net.gdface.utils.InterfaceDecorator
-
返回代理的接口类
- getIterableType(Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getJavaType() - Method in class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- getJavaType() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getKeyType() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getLazyImageFactory() - Static method in class net.gdface.image.BaseLazyImage
-
- getLocalFile() - Method in class net.gdface.image.BaseLazyImage
-
- getLowerBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- getMacAddress(InetAddress) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
返回指定address
绑定的网卡的物理地址(MAC)
- getMacAddress(NetworkInterface, String) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
- getMacAddress(InetAddress, String) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
- getMacAddress(InetAddress) - Static method in class net.gdface.utils.NetworkUtil
-
返回指定address
绑定的网卡的物理地址(MAC)
- getMacAddress(NetworkInterface, String) - Static method in class net.gdface.utils.NetworkUtil
-
- getMacAddress(InetAddress, String) - Static method in class net.gdface.utils.NetworkUtil
-
- getMapKeyType(Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getMapValueType(Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- getMatrixBGR() - Method in interface net.gdface.image.ImageMatrix
-
对图像解码返回BGR格式矩阵数据
- getMatrixBGR(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
对图像解码返回BGR格式矩阵数据
- getMatrixBGR() - Method in class net.gdface.image.LazyImage
-
- getMatrixGray() - Method in interface net.gdface.image.ImageMatrix
-
对图像数据指定的区域解码返回灰度图像矩阵
- getMatrixGRAY(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
对图像解码返回BGR格式矩阵数据
- getMatrixGray() - Method in class net.gdface.image.LazyImage
-
对图像数据指定的区域解码返回灰度图像数据
- getMatrixRGB() - Method in interface net.gdface.image.ImageMatrix
-
对图像解码返回RGB格式矩阵数据
- getMatrixRGB(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
对图像解码返回RGB格式矩阵数据
- getMatrixRGB() - Method in class net.gdface.image.LazyImage
-
- getMatrixRGBA() - Method in interface net.gdface.image.ImageMatrix
-
对图像解码返回RGBA格式矩阵数据
- getMatrixRGBA(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
对图像解码返回RGB格式矩阵数据
- getMatrixRGBA() - Method in class net.gdface.image.LazyImage
-
- getMaxShareCount() - Method in class net.gdface.utils.ShareLock
-
- getMd5() - Method in class net.gdface.image.BaseLazyImage
-
- getMD5(byte[]) - Static method in class net.gdface.utils.FaceUtilits
-
生成MD5校验码
- getMD5(ByteBuffer) - Static method in class net.gdface.utils.FaceUtilits
-
生成MD5校验码
- getMD5String(byte[]) - Static method in class net.gdface.utils.FaceUtilits
-
生成MD5校验码字符串
- getMD5String(ByteBuffer) - Static method in class net.gdface.utils.FaceUtilits
-
生成MD5校验码字符串
- getMessage() - Method in exception net.gdface.thrift.exception.BaseServiceException
-
return error message from service
- getMessage() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
return error message from service
- getMessage() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
return error message from service
- getMetadataErrors() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- getMetadataType() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getMethod() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- getMethod() - Method in class com.facebook.swift.codec.metadata.ThriftMethodInjection
-
- getMethodInjection() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getMethodInjections() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getMethodOrder(Method) - Static method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- getMethods() - Method in class com.facebook.swift.service.ThriftServiceProcessorCustom
-
- getMiddleClass(Class<L>, Class<R>) - Static method in class net.gdface.thrift.ThriftUtils
-
返回 left & right
之间的decorator类型
- getMiddleClassChecked(Class<L>, Class<R>) - Static method in class net.gdface.thrift.ThriftUtils
-
- getName() - Method in interface com.facebook.swift.codec.metadata.ThriftExtraction
-
- getName() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- getName() - Method in class com.facebook.swift.codec.metadata.ThriftFieldInjection
-
- getName() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getName() - Method in interface com.facebook.swift.codec.metadata.ThriftInjection
-
- getName() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- getName() - Method in class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- getName() - Method in class com.facebook.swift.service.ThriftMethodProcessorCustom
-
- getNativeLibraryResourcePrefix() - Static method in class net.gdface.utils.Platform
-
Generate a canonical String prefix based on the current OS
type/arch/name.
- getNICs(Predicate<NetworkInterface>...) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
根据过滤器filters
指定的条件(AND)返回网卡设备对象
- getNICs(Predicate<NetworkInterface>...) - Static method in class net.gdface.utils.NetworkUtil
-
根据过滤器filters
指定的条件(AND)返回网卡设备对象
- getOptions() - Method in class net.gdface.cli.BaseAppConfig
-
- getOSType() - Static method in class net.gdface.utils.Platform
-
- getOutTimeUnit() - Method in class net.gdface.utils.TimeCostProbe
-
- getOwnerType() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- getOwnerType() - Method in class net.gdface.utils.ParameterizedTypeImpl
-
- getParameterIndex() - Method in class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- getParameterInjections(Type, Annotation[][], Type[], String[]) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- getParameterizedType(Class<?>) - Static method in class net.gdface.utils.FaceUtilits
-
返回clazz
泛型超类的参数对象
如果超类不是泛型对象,则抛出IllegalArgumentException
- getParameterizedTypeNoThrow(Class<?>) - Static method in class net.gdface.utils.FaceUtilits
-
如果无法获取泛型参数对象,返回null
- getParameterNames(Member) - Method in class net.gdface.utils.ParameterNames
-
获取构造函数或方法的参数名
- getParameterNames(String, Class<?>[]) - Method in class net.gdface.utils.ParameterNames
-
获取构造函数或方法的参数名
name
为null
时,获取构造函数的参数名
- getParameterNames(Constructor) - Method in class org.apache.bytecode.ChainedParamReader
-
Returns the names of the declared parameters for the given constructor.
- getParameterNames(Method) - Method in class org.apache.bytecode.ChainedParamReader
-
Returns the names of the declared parameters for the given method.
- getParameterNames(String) - Method in class org.apache.bytecode.MethodTable
-
- getParameterNames(Constructor) - Method in class org.apache.bytecode.ParamReader
-
Returns the names of the declared parameters for the given constructor.
- getParameterNames(Method) - Method in class org.apache.bytecode.ParamReader
-
Returns the names of the declared parameters for the given method.
- getParameterNames(Member, Class[]) - Method in class org.apache.bytecode.ParamReader
-
- getParameterNamesFromDebugInfo(Method) - Static method in class org.apache.bytecode.ParamNameExtractor
-
Retrieves a list of function parameter names from a method.
- getParameterNamesUnchecked(String, Class<?>[]) - Method in class net.gdface.utils.ParameterNames
-
- getParameters() - Method in class com.facebook.swift.codec.metadata.ThriftConstructorInjection
-
- getParameters() - Method in class com.facebook.swift.codec.metadata.ThriftMethodInjection
-
- getPhysicalNICs() - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
返回所有物理网卡
- getPhysicalNICs() - Static method in class net.gdface.utils.NetworkUtil
-
返回所有物理网卡
- getPrefix() - Method in class net.gdface.utils.Configuration
-
- getProperties(Class<?>, int, boolean) - Static method in class net.gdface.utils.BeanPropertyUtils
-
获取beanClass中所有具有指定读写类型(rw)的属性
- getProperties(Class<?>, int) - Static method in class net.gdface.utils.BeanPropertyUtils
-
获取beanClass中所有具有指定读写类型(rw)的属性
- getProperty(String) - Method in class net.gdface.cli.Context
-
- getProperty(String) - Method in class net.gdface.utils.Configuration
-
- getProperty(String, String) - Method in class net.gdface.utils.Configuration
-
- getPropertyBaseType(String, T) - Method in class net.gdface.utils.Configuration
-
读取指定的key,将之转换成与defaultValue类型相同的对象,如果key不存在或转换出错则返回defaultValue
- getPropertyBoolean(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyBoolean(String, Boolean) - Method in class net.gdface.utils.Configuration
-
- getPropertyByte(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyByte(String, Byte) - Method in class net.gdface.utils.Configuration
-
- getPropertyDouble(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyDouble(String, Double) - Method in class net.gdface.utils.Configuration
-
- getPropertyFloat(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyFloat(String, Float) - Method in class net.gdface.utils.Configuration
-
- getPropertyFrom(Object, String) - Static method in class net.gdface.utils.BeanRelativeUtilits
-
- getPropertyInteger(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyInteger(String, Integer) - Method in class net.gdface.utils.Configuration
-
- getPropertyLong(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyLong(String, Long) - Method in class net.gdface.utils.Configuration
-
- getPropertyShort(String) - Method in class net.gdface.utils.Configuration
-
- getPropertyShort(String, Short) - Method in class net.gdface.utils.Configuration
-
- getProtocolType() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getQualifiedName() - Method in class com.facebook.swift.service.ThriftMethodProcessorCustom
-
- getRawType(Type) - Static method in class com.google.inject.internal.MoreTypes
-
- getRawType() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- getRawType() - Method in class net.gdface.utils.ParameterizedTypeImpl
-
- getRectangle() - Method in class net.gdface.image.LazyImage
-
获取图像矩形对象
- getRequiredness() - Method in class com.facebook.swift.codec.metadata.DecoratorThriftFieldMetadata
-
重载方法,实现 requiredness 转义
- getRequiredness() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getResource(Class<?>, String) - Static method in class net.gdface.utils.ClassResourceUtils
-
Finds a resource with the given name.
- getResourceAsStream(Class<?>, String) - Static method in class net.gdface.utils.ClassResourceUtils
-
Returns an input stream for reading the specified resource.
- getResourceFileList(Class<?>, String) - Static method in class net.gdface.utils.ClassResourceUtils
-
List file names for a resource folder.
- getRuntimeProperty(String) - Static method in class net.gdface.utils.FaceUtilitsX
-
- getServerStackTraceMessage() - Method in exception net.gdface.exception.ServiceRuntime
-
Deprecated.
返回服务器端异常的堆栈信息
- getServerStackTraceMessage() - Method in exception net.gdface.exception.ServiceRuntimeException
-
返回服务器端异常的堆栈信息
- getServiceClass() - Method in class com.facebook.swift.service.ThriftMethodProcessorCustom
-
- getServiceName() - Method in class com.facebook.swift.service.ThriftMethodProcessorCustom
-
- getServicePort() - Method in class net.gdface.cli.ThriftServiceConfig
-
- getServiceStackTraceMessage() - Method in exception net.gdface.thrift.exception.BaseServiceException
-
return stack trace message from service
- getServiceStackTraceMessage() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
return stack trace message from service
- getServiceStackTraceMessage() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
return stack trace message from service
- getSignature(Member, Class[]) - Static method in class org.apache.bytecode.ClassReader
-
- getStructClass() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- getStructClass() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getStructMetadata() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getStructName() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getStructType() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- getStructType() - Method in class net.gdface.thrift.ThriftyStructMetadata
-
- getSuffix() - Method in class net.gdface.image.BaseLazyImage
-
- getTemporaryDir() - Static method in class net.gdface.utils.NativeUtils
-
- getThriftDocumentation(Class<?>) - Static method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- getThriftDocumentation(Method) - Static method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- getThriftDocumentation(Field) - Static method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- getThriftDocumentation(Enum<T>) - Static method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- getThriftEnumMetadata(Class<?>) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
Gets the ThriftEnumMetadata for the specified enum class.
- getThriftStructMetadata(Type) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
Gets the ThriftStructMetadata for the specified struct class.
- getThriftStructMetadata(Type) - Method in class com.facebook.swift.codec.metadata.ThriftCatalogWithTransformer
-
- getThriftType(Type) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
Gets the ThriftType for the specified Java type.
- getThriftType() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getThriftType() - Method in class com.facebook.swift.codec.metadata.TypeCoercion
-
- getTimeCost(TimeUnit) - Method in class net.gdface.utils.TimeCostProbe
-
- getTimeCostMills() - Method in class net.gdface.utils.TimeCostProbe
-
- getTimerExecutor() - Static method in class net.gdface.utils.DefaultExecutorProvider
-
返回定时任务线程池
- getToThrift() - Method in class com.facebook.swift.codec.metadata.TypeCoercion
-
- getTransformer(Class<L>, Class<R>) - Method in class net.gdface.thrift.TypeTransformer
-
- getTransformer(Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
返回left TO right
指定的转换器,参数不可为null
- getTransformer(Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
返回left & right
指定的转换器,参数不可为null
- getTransformerChecked(Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
- getTransformerChecked(Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
- getType() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- getType() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- getType() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- getType() - Method in enum com.facebook.swift.codec.ThriftProtocolType
-
- getType() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
return exception type
- getType() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
return exception type
- getUncoercedType() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getUpperBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- getValueType() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- getWarnings() - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- getWidth() - Method in class net.gdface.image.BaseLazyImage
-
- getWidth() - Method in interface net.gdface.image.ImageMatrix
-
- getWorkThreads() - Method in class net.gdface.cli.ThriftServiceConfig
-
- getWriteMethod() - Method in class net.gdface.utils.LenientDecoratorOfDescriptor
-
- globalExecutor - Variable in class net.gdface.utils.DefaultExecutorProvider
-
全局线程池(自动退出封装)
- GNU - Static variable in class net.gdface.utils.Platform
-
- growCanvas(Image, int, int, int, int, int) - Static method in class net.gdface.image.ImageUtil
-
将Image
图像上下左右扩充指定的尺寸
- growCanvas(Image, int, int, int, int) - Static method in class net.gdface.image.ImageUtil
-
- growSquareCanvas(Image) - Static method in class net.gdface.image.ImageUtil
-
将Image
图像(向右下)扩充为正文形(尺寸长宽最大边)
- I16 - Static variable in class com.facebook.swift.codec.metadata.ThriftType
-
- I32 - Static variable in class com.facebook.swift.codec.metadata.ThriftType
-
- I64 - Static variable in class com.facebook.swift.codec.metadata.ThriftType
-
- IDLE_CONNECTION_TIMEOUT_OPTION_DESC - Static variable in interface net.gdface.cli.ThriftServiceConstants
-
- IDLE_CONNECTION_TIMEOUT_OPTION_LONG - Static variable in interface net.gdface.cli.ThriftServiceConstants
-
- ILazyInitVariable<T> - Interface in net.gdface.utils
-
延迟初始化(Lazy initialization)变量封装接口
- ILazyInitVariable.BaseLazyVar<T> - Class in net.gdface.utils
-
- ImageError - Exception in net.gdface.image
-
- ImageError(Throwable) - Constructor for exception net.gdface.image.ImageError
-
Deprecated.
- ImageError() - Constructor for exception net.gdface.image.ImageError
-
Deprecated.
- ImageError(String) - Constructor for exception net.gdface.image.ImageError
-
Deprecated.
- ImageError(String, Throwable) - Constructor for exception net.gdface.image.ImageError
-
Deprecated.
- ImageErrorException - Exception in net.gdface.image
-
获取图像异常
- ImageErrorException(Throwable) - Constructor for exception net.gdface.image.ImageErrorException
-
- ImageErrorException() - Constructor for exception net.gdface.image.ImageErrorException
-
- ImageErrorException(String) - Constructor for exception net.gdface.image.ImageErrorException
-
- ImageErrorException(String, Throwable) - Constructor for exception net.gdface.image.ImageErrorException
-
- ImageMatrix - Interface in net.gdface.image
-
图像矩阵读写接口
- ImageUtil - Class in net.gdface.image
-
图像工具类
- ImageUtil() - Constructor for class net.gdface.image.ImageUtil
-
- imgBytes - Variable in class net.gdface.image.BaseLazyImage
-
图像原始数据(未解码)
- inferThriftFieldIds() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
Assigns all fields an id if possible.
- inferThriftFieldIds(Multimap<String, FieldMetadata>, Set<String>) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- InsertFail - Exception in net.gdface.exception
-
- InsertFail(Throwable) - Constructor for exception net.gdface.exception.InsertFail
-
Deprecated.
- InsertFail() - Constructor for exception net.gdface.exception.InsertFail
-
Deprecated.
- InsertFail(String) - Constructor for exception net.gdface.exception.InsertFail
-
Deprecated.
- InsertFail(String, Throwable) - Constructor for exception net.gdface.exception.InsertFail
-
Deprecated.
- InsertFailException - Exception in net.gdface.exception
-
插入记录失败
- InsertFailException(Throwable) - Constructor for exception net.gdface.exception.InsertFailException
-
- InsertFailException() - Constructor for exception net.gdface.exception.InsertFailException
-
- InsertFailException(String) - Constructor for exception net.gdface.exception.InsertFailException
-
- InsertFailException(String, Throwable) - Constructor for exception net.gdface.exception.InsertFailException
-
- integerToBoxedInteger(int) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
-
- InterfaceDecorator<I,T> - Class in net.gdface.utils
-
- InterfaceDecorator(Class<I>, T) - Constructor for class net.gdface.utils.InterfaceDecorator
-
构造方法
- InterfaceDecorator(T) - Constructor for class net.gdface.utils.InterfaceDecorator
-
简化版构造函数
当delegate只实现了一个接口时,自动推断接口类型
- IntResourcePool(Collection<Integer>) - Constructor for class net.gdface.utils.ResourcePool.IntResourcePool
-
- IntResourcePool(Integer...) - Constructor for class net.gdface.utils.ResourcePool.IntResourcePool
-
- IntResourcePool(int) - Constructor for class net.gdface.utils.ResourcePool.IntResourcePool
-
构造方法
起始为0,步长为1
- IntResourcePool(int, int, int) - Constructor for class net.gdface.utils.ResourcePool.IntResourcePool
-
- invoke(Object, Method, Object[]) - Method in class net.gdface.utils.InterfaceDecorator
-
- isAIX() - Static method in class net.gdface.utils.Platform
-
- isAix() - Static method in class net.gdface.utils.Platform
-
Deprecated.
- isAndroid() - Static method in class net.gdface.utils.Platform
-
- isAnyOriginSupported() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Determines whether a wildcard origin, '*', is supported.
- isARM() - Static method in class net.gdface.utils.Platform
-
- isArray(Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
-
- isBGR3Byte(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
- isBGRA(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
- isBuilding() - Static method in class net.gdface.utils.FaceUtilitsX
-
当类被加载的时候,根据环境变量‘is_building’判断当前是运行状态还是代码编译构建状态
如果没有定义环境变量,则默认为false
- isCancelled() - Method in class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
-
- isCastType(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isCoerced() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- isCorsSupportEnabled() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Determines if support for CORS is enabled.
- isCredentialsAllowed() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Determines if cookies are supported for CORS requests.
- isDone() - Method in class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
-
- isEmpty(byte[]) - Static method in class net.gdface.utils.Judge
-
判断数组对象是不是有为null或空的
- isEmpty(String) - Static method in class net.gdface.utils.Judge
-
判断对象是不是为null或空的
- isEmpty(Buffer) - Static method in class net.gdface.utils.Judge
-
判断对象是不是为null或空的
- isEmpty(T) - Static method in class net.gdface.utils.Judge
-
判断Collection对象是不是有为null或空的
- isEmpty(T[]) - Static method in class net.gdface.utils.Judge
-
判断所有数组对象是不是有为null或空的,只要有一个,就返回true;
- isException() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- isException(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isfloat(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isFreeBSD() - Static method in class net.gdface.utils.Platform
-
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- isGeneric() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- isGeneric() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- isGNU() - Static method in class net.gdface.utils.Platform
-
- isGray(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
- isIntel() - Static method in class net.gdface.utils.Platform
-
- isInternal() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- isIsLocalMethod(Method) - Static method in class net.gdface.thrift.ThriftUtils
-
- isJavaReserved(String) - Static method in class net.gdface.utils.NameStringUtils
-
- iskFreeBSD() - Static method in class net.gdface.utils.Platform
-
- isLinux() - Static method in class net.gdface.utils.Platform
-
- ISLOCAL_METHOD_NAME - Static variable in class net.gdface.thrift.ThriftUtils
-
- isLocalhost(InetAddress) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
判断address
是否为本机地址
- isLocalhost(String) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
判断address
是否为本机地址
- isLocalhost(InetAddress) - Static method in class net.gdface.utils.NetworkUtil
-
判断address
是否为本机地址
- isLocalhost(String) - Static method in class net.gdface.utils.NetworkUtil
-
判断address
是否为本机地址
- isLoopbackAddress(String) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
判断host
是否为localhost
- isLoopbackAddress(String) - Static method in class net.gdface.utils.NetworkUtil
-
判断host
是否为localhost
- isMac() - Static method in class net.gdface.utils.Platform
-
- isNestable() - Method in class net.gdface.utils.ResourcePool
-
是否允许嵌套
- isNetBSD() - Static method in class net.gdface.utils.Platform
-
- isNull(T) - Static method in class net.gdface.utils.Judge
-
判断参数是不是为null
- isNullOriginAllowed() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Web browsers may set the 'Origin' request header to 'null' if a resource is loaded
from the local file system.
- isOpenBSD() - Static method in class net.gdface.utils.Platform
-
- isOriginAllowed(String) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Returns whether the input origin is allowed by this configuration.
- isPPC() - Static method in class net.gdface.utils.Platform
-
- isPrimitiveArray(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isPrimitivefloat(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isReadOnly() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- isRGB3Byte(BufferedImage) - Static method in class net.gdface.image.ImageUtil
-
- isShortCircuit() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Determines whether a CORS request should be rejected if it's invalid before being
further processing.
- isSolaris() - Static method in class net.gdface.utils.Platform
-
- isSPARC() - Static method in class net.gdface.utils.Platform
-
- isStruct() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- isSupportedArrayComponentType(Class<?>) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- isSupportedStructFieldType(Type) - Method in class com.facebook.swift.codec.metadata.ThriftCatalog
-
- isThriftBuildinType(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isThriftClientPair(Class<L>, Class<R>) - Static method in class net.gdface.thrift.ThriftUtils
-
判断 right
是否为left
对应的client端存根类型
- isThriftDecorator(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isThriftDecoratorPair(Class<L>, Class<R>) - Static method in class net.gdface.thrift.ThriftUtils
-
判断 left and right
之间是否为装饰类和被装饰类关系
- isThriftException(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isThriftException(Type, Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isThriftReserved(String) - Static method in class net.gdface.utils.NameStringUtils
-
- isThriftStruct(Type) - Static method in class net.gdface.thrift.ThriftUtils
-
- isTrue(boolean, String) - Static method in class net.gdface.utils.Assert
-
- isTrue(boolean, String, String) - Static method in class net.gdface.utils.Assert
-
- isTypePredicate(FieldKind) - Static method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- isUnion() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- isValidateGetter(Method) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- isValidateSetter(Method) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- isValidateSetter(Method) - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
-
- isValidateSetter(Method) - Method in class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
-
- isValidBase64Encoding(String) - Static method in class net.gdface.utils.Base64Utils
-
checks input string for invalid Base64 characters
- isWindows() - Static method in class net.gdface.utils.Platform
-
Returns true for any windows variant.
- isWindowsCE() - Static method in class net.gdface.utils.Platform
-
- isWriteOnly() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- isX11() - Static method in class net.gdface.utils.Platform
-
- ParameterizedTypeImpl(Type, Type, Type...) - Constructor for class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- ParameterizedTypeImpl - Class in net.gdface.utils
-
基于jdk1.7中 sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl
实现
修正原版本中toString方法错误
- ParameterizedTypeImpl(ParameterizedType) - Constructor for class net.gdface.utils.ParameterizedTypeImpl
-
构造方法
基于已有ParameterizedType
实例构造一个新对象
- ParameterizedTypeImpl(Class<?>, Type[], Type) - Constructor for class net.gdface.utils.ParameterizedTypeImpl
-
- ParameterNames - Class in net.gdface.utils
-
获取构造函数或方法的参数名
当不能获取参数名的情况下,
returnFakeNameIfFail
为false
时返回null
,否则返回返回arg,arg2...格式的替代名
returnFakeNameIfFail
默认为true
- ParameterNames(Class<?>) - Constructor for class net.gdface.utils.ParameterNames
-
- ParamNameExtractor - Class in org.apache.bytecode
-
This class retrieves function parameter names from bytecode built with
debugging symbols.
- ParamNameExtractor() - Constructor for class org.apache.bytecode.ParamNameExtractor
-
- ParamReader - Class in org.apache.bytecode
-
This is the class file reader for obtaining the parameter names
for declared methods in a class.
- ParamReader(Class) - Constructor for class org.apache.bytecode.ParamReader
-
Processes a class file, given it's class.
- ParamReader(byte[]) - Constructor for class org.apache.bytecode.ParamReader
-
Processes the given class bytes directly.
- parseCommandLine(String[]) - Method in class net.gdface.cli.BaseAppConfig
-
解析命令行参数
- pathFromPackage(Package) - Static method in class net.gdface.utils.NameStringUtils
-
- pathFromPpackage(String) - Static method in class net.gdface.utils.NameStringUtils
-
- Platform - Class in net.gdface.utils
-
copy from jna-4.1.0.jar com.sun.jna.Platform but 'is64Bit' method
- preflightResponseHeader(CharSequence, Object...) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeader(CharSequence, Iterable<T>) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeader(CharSequence, Callable<T>) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeaders() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
Returns HTTP response headers that should be added to a CORS preflight response.
- primitiveFloatToDouble(float) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
-
- print() - Method in class net.gdface.utils.TimeCostProbe
-
向输出设备打印耗时统计信息
- printServerStackTrace() - Method in exception net.gdface.exception.ServiceRuntime
-
Deprecated.
输出服务器端堆栈错误信息
- printServerStackTrace(PrintStream) - Method in exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- printServerStackTrace(PrintWriter) - Method in exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- printServerStackTrace() - Method in exception net.gdface.exception.ServiceRuntimeException
-
输出服务器端堆栈错误信息
- printServerStackTrace(PrintStream) - Method in exception net.gdface.exception.ServiceRuntimeException
-
- printServerStackTrace(PrintWriter) - Method in exception net.gdface.exception.ServiceRuntimeException
-
- printServiceStackTrace() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
print stack trace message from service to System.err
- printServiceStackTrace(PrintStream) - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- printServiceStackTrace(PrintWriter) - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- printServiceStackTrace() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
print stack trace message from service to System.err
- printServiceStackTrace(PrintStream) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- printServiceStackTrace(PrintWriter) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- process(TProtocol, TProtocol, int, ContextChain) - Method in class com.facebook.swift.service.ThriftMethodProcessorCustom
-
- process(TProtocol, TProtocol, RequestContext) - Method in class com.facebook.swift.service.ThriftServiceProcessorCustom
-
- processor - Variable in class com.facebook.swift.service.ThriftServerService
-
- PROP_CLASSNAME - Static variable in class net.gdface.utils.ReflectionUtils
-
- PROP_CONSTRUCTORARGS - Static variable in class net.gdface.utils.ReflectionUtils
-
- PROP_CONSTRUCTORPARAMS - Static variable in class net.gdface.utils.ReflectionUtils
-
- PROP_PARAMETERTYPES - Static variable in class net.gdface.utils.ReflectionUtils
-
- PROP_STATICMETHODNAME - Static variable in class net.gdface.utils.ReflectionUtils
-
- proxyInstance() - Method in class net.gdface.utils.InterfaceDecorator
-
根据当前对象创建新的接口实例Proxy
- SampleLog - Class in net.gdface.utils
-
简单日志输出工具类
- SampleLog() - Constructor for class net.gdface.utils.SampleLog
-
- save(File) - Method in class net.gdface.image.BaseLazyImage
-
- saveBytes(byte[], File, boolean) - Static method in class net.gdface.utils.FaceUtilits
-
NIO方式将data
数据保存在file
指定的文件中
如果file
所在文件夹不存在,则会自动创建所有的文件夹
- saveImage(InputStream, File) - Static method in class net.gdface.utils.FaceUtilits
-
- saveImageAutoName(byte[], File) - Static method in class net.gdface.utils.FaceUtilits
-
将图片数据保存在folder指定的文件夹下,文件名用图片的md5校验码命名,自动判断文件后缀
- SaveImgFail - Exception in net.gdface.exception
-
- SaveImgFail(Throwable) - Constructor for exception net.gdface.exception.SaveImgFail
-
Deprecated.
- SaveImgFail() - Constructor for exception net.gdface.exception.SaveImgFail
-
Deprecated.
- SaveImgFail(String) - Constructor for exception net.gdface.exception.SaveImgFail
-
Deprecated.
- SaveImgFail(String, Throwable) - Constructor for exception net.gdface.exception.SaveImgFail
-
Deprecated.
- SaveImgFailException - Exception in net.gdface.exception
-
图像存储失败
- SaveImgFailException(Throwable) - Constructor for exception net.gdface.exception.SaveImgFailException
-
- SaveImgFailException() - Constructor for exception net.gdface.exception.SaveImgFailException
-
- SaveImgFailException(String) - Constructor for exception net.gdface.exception.SaveImgFailException
-
- SaveImgFailException(String, Throwable) - Constructor for exception net.gdface.exception.SaveImgFailException
-
- scale(BufferedImage, double) - Static method in class net.gdface.image.ImageUtil
-
对原图缩放,返回缩放后的新对象
- selfBind(InetAddress) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
遍历所有物理网上绑定的地址,判断address
是否为本机网卡绑定的地址
- selfBind(String) - Static method in class net.gdface.thrift.NetworkUtil
-
Deprecated.
- selfBind(InetAddress) - Static method in class net.gdface.utils.NetworkUtil
-
遍历所有物理网上绑定的地址,判断address
是否为本机网卡绑定的地址
- selfBind(String) - Static method in class net.gdface.utils.NetworkUtil
-
- sendHttpRequest(URL, String) - Static method in class net.gdface.utils.NetworkUtil
-
向指定的url发送http请求
- SERVICE_PORT_OPTION_DESC - Static variable in interface net.gdface.cli.ThriftServiceConstants
-
- SERVICE_PORT_OPTION_LONG - Static variable in interface net.gdface.cli.ThriftServiceConstants
-
- serviceName - Variable in class com.facebook.swift.service.ThriftServerService
-
- serviceName() - Method in class com.facebook.swift.service.ThriftServerService
-
- ServiceRuntime - Exception in net.gdface.exception
-
- ServiceRuntime() - Constructor for exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- ServiceRuntime(String) - Constructor for exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- ServiceRuntime(String, Throwable) - Constructor for exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- ServiceRuntime(Throwable) - Constructor for exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- ServiceRuntimeException - Exception in net.gdface.exception
-
- ServiceRuntimeException() - Constructor for exception net.gdface.exception.ServiceRuntimeException
-
- ServiceRuntimeException(String) - Constructor for exception net.gdface.exception.ServiceRuntimeException
-
- ServiceRuntimeException(String, Throwable) - Constructor for exception net.gdface.exception.ServiceRuntimeException
-
- ServiceRuntimeException(Throwable) - Constructor for exception net.gdface.exception.ServiceRuntimeException
-
- ServiceRuntimeException - Exception in net.gdface.thrift.exception
-
Runtime exception wrap class
all RuntimeException
threw from service was wrapped to the object
- ServiceRuntimeException(String) - Constructor for exception net.gdface.thrift.exception.ServiceRuntimeException
-
- ServiceRuntimeException() - Constructor for exception net.gdface.thrift.exception.ServiceRuntimeException
-
- ServiceRuntimeException(Throwable) - Constructor for exception net.gdface.thrift.exception.ServiceRuntimeException
-
- ServiceRuntimeException(String, Throwable) - Constructor for exception net.gdface.thrift.exception.ServiceRuntimeException
-
- ServiceRuntimeException(int, Throwable) - Constructor for exception net.gdface.thrift.exception.ServiceRuntimeException
-
- serviceStackTraceMessage - Variable in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- ServiceUtil - Class in net.gdface.thrift
-
- set(ThriftType) - Static method in class com.facebook.swift.codec.metadata.ThriftType
-
- setAutoClose(boolean) - Method in class net.gdface.image.BaseLazyImage
-
- setCauseClass(String) - Method in exception net.gdface.thrift.exception.BaseServiceException
-
- setCauseClass(String) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- setCauseFields(String) - Method in exception net.gdface.thrift.exception.BaseServiceException
-
- setCauseFields(String) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- setClientName(String) - Method in class net.gdface.thrift.ClientFactory
-
- setConnector(NiftyClientConnector<? extends NiftyClientChannel>) - Method in class net.gdface.thrift.ClientFactory
-
- setConnectTimeout(Duration) - Method in class net.gdface.thrift.ClientFactory
-
- setCorsResponseHeaders(HttpRequest, HttpResponse, Netty3CorsConfig) - Static method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsHandler
-
- setDecorator(Function<T, T>) - Method in class net.gdface.thrift.ClientFactory
-
- setEventHandlers(List<ThriftEventHandler>) - Method in class com.facebook.swift.service.ThriftServerService.Builder
-
- setEventHandlers(ThriftEventHandler...) - Method in class com.facebook.swift.service.ThriftServerService.Builder
-
- setExecutor(Executor) - Method in class net.gdface.thrift.ClientFactory
-
- setHostAndPort(HostAndPort) - Method in class net.gdface.thrift.ClientFactory
-
- setHostAndPort(String, int) - Method in class net.gdface.thrift.ClientFactory
-
- setHostAndPort(String) - Method in class net.gdface.thrift.ClientFactory
-
- setInstance(TypeTransformer) - Static method in class net.gdface.thrift.TypeTransformer
-
- setManager(ThriftClientManager) - Method in class net.gdface.thrift.ClientFactory
-
- setMaxFrameSize(int) - Method in class net.gdface.thrift.ClientFactory
-
- setMessage(String) - Method in exception net.gdface.thrift.exception.BaseServiceException
-
- setMessage(String) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- setObjectOptional(Boolean) - Static method in class com.facebook.swift.codec.metadata.DecoratorThriftFieldMetadata
-
- setOutTimeUnit(TimeUnit) - Method in class net.gdface.utils.TimeCostProbe
-
设置输出时间单位
- setParentLoaderStrategy(ClassLoaderUtils.ParentStrategy) - Static method in class net.gdface.utils.ClassLoaderUtils
-
- setParentLoaderStrategy(String) - Static method in class net.gdface.utils.ClassLoaderUtils
-
- setPoolConfig(GenericObjectPoolConfig) - Method in class net.gdface.thrift.ClientFactory
-
设置资源池配置参数
- setPrefix(String) - Method in class net.gdface.utils.Configuration
-
如果参数为null,则prefix设置为""
- setPrimitiveOptional(boolean) - Static method in class com.facebook.swift.codec.metadata.DecoratorThriftFieldMetadata
-
- setProperties(Map<String, ? extends Object>) - Method in class net.gdface.cli.Context
-
- setProperty(String, T) - Method in class net.gdface.cli.Context
-
- setProperty(String, String) - Method in class net.gdface.utils.Configuration
-
- setPropertyBoolean(String, Boolean) - Method in class net.gdface.utils.Configuration
-
- setPropertyBooleanIfAbsent(String, Boolean) - Method in class net.gdface.utils.Configuration
-
- setPropertyByte(String, Byte) - Method in class net.gdface.utils.Configuration
-
- setPropertyByteIfAbsent(String, Byte) - Method in class net.gdface.utils.Configuration
-
- setPropertyDouble(String, Double) - Method in class net.gdface.utils.Configuration
-
- setPropertyDoubleIfAbsent(String, Double) - Method in class net.gdface.utils.Configuration
-
- setPropertyFloat(String, Float) - Method in class net.gdface.utils.Configuration
-
- setPropertyFloatIfAbsent(String, Float) - Method in class net.gdface.utils.Configuration
-
- setPropertyIfAbsent(String, String) - Method in class net.gdface.utils.Configuration
-
- setPropertyInteger(String, Integer) - Method in class net.gdface.utils.Configuration
-
- setPropertyIntegerIfAbsent(String, Integer) - Method in class net.gdface.utils.Configuration
-
- setPropertyLong(String, Long) - Method in class net.gdface.utils.Configuration
-
- setPropertyLongIfAbsent(String, Long) - Method in class net.gdface.utils.Configuration
-
- setPropertyShort(String, Short) - Method in class net.gdface.utils.Configuration
-
- setPropertyShortIfAbsent(String, Short) - Method in class net.gdface.utils.Configuration
-
- setReadTimeout(Duration) - Method in class net.gdface.thrift.ClientFactory
-
- setReceiveTimeout(Duration) - Method in class net.gdface.thrift.ClientFactory
-
- setReturnFakeNameIfFail(boolean) - Method in class net.gdface.utils.ParameterNames
-
- setServerPort(int) - Method in class com.facebook.swift.service.ThriftServerService.Builder
-
设置服务端口
- setServerStackTraceMessage(String) - Method in exception net.gdface.exception.ServiceRuntime
-
Deprecated.
- setServerStackTraceMessage(String) - Method in exception net.gdface.exception.ServiceRuntimeException
-
- setServiceStackTraceMessage(String) - Method in exception net.gdface.thrift.exception.BaseServiceException
-
- setServiceStackTraceMessage(String) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- setSocksProxy(HostAndPort) - Method in class net.gdface.thrift.ClientFactory
-
- setThriftClientConfig(ThriftClientConfig) - Method in class net.gdface.thrift.ClientFactory
-
- setThriftServerConfig(ThriftServerConfig) - Method in class com.facebook.swift.service.ThriftServerService.Builder
-
设置服务器配置参数对象
- setTimeout(Duration) - Method in class net.gdface.thrift.ClientFactory
-
set all timeout arguments
- setTimeout(long, TimeUnit) - Method in class net.gdface.thrift.ClientFactory
-
- setToken(TypeToken<T>) - Static method in class net.gdface.thrift.ThriftUtils
-
- setToken(TypeToken<T>) - Static method in class net.gdface.utils.TypeUtils
-
- setTransformer(Class<L>, Class<R>, Function<L, R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
设置left -> right
的转换器,参数不可为null
- setTransformer(Class<L>, Class<R>, Function<L, R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
设置left -> right
的转换器,参数不可为null
- setType(int) - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
-
- setUseDefaultValueIfPrimitiveWrap(boolean) - Static method in class com.facebook.swift.service.ThriftMethodProcessorCustom
-
设置对于primitive wrap类型是否将null
转为default value,默认为false
该方法只能被调用一次
- setValue(Object, short, L) - Method in class net.gdface.thrift.ThriftyStructMetadata
-
- setWriteTimeout(Duration) - Method in class net.gdface.thrift.ClientFactory
-
- ShareLock - Class in net.gdface.utils
-
- ShareLock(int) - Constructor for class net.gdface.utils.ShareLock
-
- shortCircuit() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
-
Specifies that a CORS request should be rejected if it's invalid before being
further processing.
- shortToBoxedShort(short) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
-
- shutDown() - Method in class com.facebook.swift.service.ThriftServerService
-
- skipAttributes() - Method in class org.apache.bytecode.ClassReader
-
- skipFully(int) - Method in class org.apache.bytecode.ClassReader
-
Skips n bytes in the input stream.
- SOLARIS - Static variable in class net.gdface.utils.Platform
-
- sortByField(Collection<T>, String) - Static method in class net.gdface.utils.BeanRelativeUtilits
-
- sortByField(T[], String) - Static method in class net.gdface.utils.BeanRelativeUtilits
-
- startUp() - Method in class com.facebook.swift.service.ThriftServerService
-
- storePropertiesInUserHome(Properties, String) - Static method in class net.gdface.utils.ConfigUtils
-
基于user.home,保存指定的Properties
- storeSortedMap(Map<String, String>, Writer, String) - Static method in class net.gdface.utils.FaceUtilits
-
对Map
中元素以key排序后,每行以{key}={value}形式输出到Writer
map为空或null时则不向writer写入任何内容
- storeSortedSet(Collection<String>, Writer, String) - Static method in class net.gdface.utils.FaceUtilits
-
对 Collection
中元素排序后(去除重复),元素分行输出到Writer
collection为空或null时则不向writer写入任何内容
- STRING - Static variable in class com.facebook.swift.codec.metadata.ThriftType
-
- stripThrowableShell(Throwable, Class<? extends Throwable>) - Static method in class net.gdface.utils.FaceUtilits
-
以递归方式返回被shellClass
多层封装的异常
- struct(ThriftStructMetadata) - Static method in class com.facebook.swift.codec.metadata.ThriftType
-
- STRUCT_TRANSFORMER - Static variable in class com.facebook.swift.codec.metadata.DecoratorThriftStructMetadata
-
- structName - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- STRUCTS_CACHE - Static variable in class net.gdface.thrift.ThriftyStructMetadata
-
- structType - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- sudoCmd(String) - Method in class net.gdface.utils.CmdExecutor
-
添加一条需要sudo执行的命令
- suffix - Variable in class net.gdface.image.BaseLazyImage
-
图像文件后缀
- Swift2ThriftyExceptionTransformer<L extends java.lang.Exception,R extends ThriftDecorator<? extends java.lang.Exception>> - Class in net.gdface.thrift
-
有ThriftStruct
注释的异常类型之间的转换
- Swift2ThriftyExceptionTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.Swift2ThriftyExceptionTransformer
-
- Swift2ThriftyStructTransformer<L,R extends com.microsoft.thrifty.Struct> - Class in net.gdface.thrift
-
有ThriftStruct
注释的类型之间的转换
- Swift2ThriftyStructTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.Swift2ThriftyStructTransformer
-
- sync(boolean) - Method in class net.gdface.utils.CmdExecutor
-
- testConnect() - Method in class net.gdface.thrift.ClientFactory
-
测试当前连接是否有效
- testHttpConnect(URL, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
-
- testHttpConnect(String, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
-
测试http连接是否可连接
- testHttpConnect(String, int, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
-
测试http连接是否可连接
- testHttpConnectChecked(URL, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
-
测试http连接是否可连接
- testHttpConnectChecked(String, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
-
测试http连接是否可连接
- testHttpConnectChecked(String, int, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
-
测试http连接是否可连接
- THRIFT_BUILTIN_KNOWNTYPES - Static variable in class net.gdface.thrift.ThriftUtils
-
- ThriftCatalog - Class in com.facebook.swift.codec.metadata
-
ThriftCatalog contains the metadata for all known structs, enums and type coercions.
- ThriftCatalog() - Constructor for class com.facebook.swift.codec.metadata.ThriftCatalog
-
- ThriftCatalog(MetadataErrors.Monitor) - Constructor for class com.facebook.swift.codec.metadata.ThriftCatalog
-
- ThriftCatalogWithTransformer - Class in com.facebook.swift.codec.metadata
-
- ThriftCatalogWithTransformer() - Constructor for class com.facebook.swift.codec.metadata.ThriftCatalogWithTransformer
-
- ThriftCatalogWithTransformer(MetadataErrors.Monitor) - Constructor for class com.facebook.swift.codec.metadata.ThriftCatalogWithTransformer
-
- ThriftClientTypeTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.TypeTransformer.ThriftClientTypeTransformer
-
- ThriftConstructorInjection - Class in com.facebook.swift.codec.metadata
-
- ThriftConstructorInjection(Constructor<?>, ThriftParameterInjection...) - Constructor for class com.facebook.swift.codec.metadata.ThriftConstructorInjection
-
- ThriftConstructorInjection(Constructor<?>, List<ThriftParameterInjection>) - Constructor for class com.facebook.swift.codec.metadata.ThriftConstructorInjection
-
- ThriftDecorator<T> - Interface in net.gdface.thrift
-
thrift装饰者模式接口
- ThriftDecoratorTransformer<L,R extends ThriftDecorator<L>> - Class in net.gdface.thrift
-
- ThriftDecoratorTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.ThriftDecoratorTransformer
-
- ThriftDocumentation - Annotation Type in com.facebook.swift.codec
-
- ThriftEnumMetadata<T extends java.lang.Enum<T>> - Class in com.facebook.swift.codec.metadata
-
- ThriftEnumMetadata(String, Class<T>) - Constructor for class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- ThriftEnumMetadataBuilder<T extends java.lang.Enum<T>> - Class in com.facebook.swift.codec.metadata
-
- ThriftEnumMetadataBuilder(Class<T>) - Constructor for class com.facebook.swift.codec.metadata.ThriftEnumMetadataBuilder
-
- ThriftExceptionTransformer<L extends java.lang.Exception,R extends ThriftDecorator<? extends java.lang.Exception>> - Class in net.gdface.thrift
-
有ThriftStruct
注释的异常类型之间的转换
- ThriftExceptionTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.ThriftExceptionTransformer
-
- ThriftExtraction - Interface in com.facebook.swift.codec.metadata
-
ThriftExtraction contains information an extraction point for a single thrift field.
- ThriftFieldExtractor - Class in com.facebook.swift.codec.metadata
-
- ThriftFieldExtractor(short, String, FieldKind, Field, Type) - Constructor for class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- ThriftFieldInjection - Class in com.facebook.swift.codec.metadata
-
- ThriftFieldInjection(short, String, Field, FieldKind) - Constructor for class com.facebook.swift.codec.metadata.ThriftFieldInjection
-
- ThriftFieldMetadata - Class in com.facebook.swift.codec.metadata
-
ThriftFieldMetadata defines a single thrift field including the value extraction and injection
points.
- ThriftFieldMetadata(short, ThriftField.Requiredness, ThriftType, String, FieldKind, List<ThriftInjection>, Optional<ThriftConstructorInjection>, Optional<ThriftMethodInjection>, Optional<ThriftExtraction>, Optional<TypeCoercion>) - Constructor for class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- ThriftHttpCodec - Class in com.facebook.swift.service
-
HttpClientCodec
本身已经实现了
ThriftFrameCodec
接口的所有方法,
只是因为
ThriftFrameCodec
是nifty定义的接口,所以
HttpClientCodec
不是
ThriftFrameCodec
实例,
ThriftHttpCodec
的作用就是将
HttpClientCodec
封装成
ThriftFrameCodec
实例
- ThriftHttpCodec() - Constructor for class com.facebook.swift.service.ThriftHttpCodec
-
- ThriftHttpCodecFactory - Class in com.facebook.swift.service
-
- ThriftHttpCodecFactory() - Constructor for class com.facebook.swift.service.ThriftHttpCodecFactory
-
- ThriftInjection - Interface in com.facebook.swift.codec.metadata
-
ThriftInjection contains information an injection point for a single thrift field.
- ThriftMethodExtractor - Class in com.facebook.swift.codec.metadata
-
- ThriftMethodExtractor(short, String, FieldKind, Method, Type) - Constructor for class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- ThriftMethodInjection - Class in com.facebook.swift.codec.metadata
-
- ThriftMethodInjection(Method, ThriftParameterInjection...) - Constructor for class com.facebook.swift.codec.metadata.ThriftMethodInjection
-
- ThriftMethodInjection(Method, List<ThriftParameterInjection>) - Constructor for class com.facebook.swift.codec.metadata.ThriftMethodInjection
-
- ThriftMethodProcessorCustom - Class in com.facebook.swift.service
-
定制ThriftMethodProcessor
,收到的primitive封装类型(Boolean,Integer...)如果是null
不会被转成default 0.
- ThriftMethodProcessorCustom(Object, String, ThriftMethodMetadata, ThriftCodecManager) - Constructor for class com.facebook.swift.service.ThriftMethodProcessorCustom
-
- ThriftOrder - Annotation Type in com.facebook.swift.codec
-
- ThriftParameterInjection - Class in com.facebook.swift.codec.metadata
-
- ThriftParameterInjection(short, String, int, Type) - Constructor for class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- ThriftProtocolType - Enum in com.facebook.swift.codec
-
- thriftServer - Variable in class com.facebook.swift.service.ThriftServerService
-
- thriftServerConfig - Variable in class com.facebook.swift.service.ThriftServerService
-
- ThriftServerService - Class in com.facebook.swift.service
-
创建thrift服务实例ThriftServer
,封装为Service
- ThriftServerService(List<?>, List<ThriftEventHandler>, ThriftServerConfig) - Constructor for class com.facebook.swift.service.ThriftServerService
-
构造函数
- ThriftServerService.Builder - Class in com.facebook.swift.service
-
- ThriftServerXHRCodec - Class in com.facebook.swift.service
-
- ThriftServerXHRCodec() - Constructor for class com.facebook.swift.service.ThriftServerXHRCodec
-
- ThriftServiceConfig - Class in net.gdface.cli
-
服务基本配置参数
- ThriftServiceConfig(int) - Constructor for class net.gdface.cli.ThriftServiceConfig
-
默认服务端口号
- ThriftServiceConstants - Interface in net.gdface.cli
-
常量定义
- ThriftServiceProcessorCustom - Class in com.facebook.swift.service
-
- ThriftServiceProcessorCustom(ThriftCodecManager, List<? extends ThriftEventHandler>, Object...) - Constructor for class com.facebook.swift.service.ThriftServiceProcessorCustom
-
- ThriftServiceProcessorCustom(ThriftCodecManager, List<? extends ThriftEventHandler>, List<?>) - Constructor for class com.facebook.swift.service.ThriftServiceProcessorCustom
-
- ThriftStructMetadata - Class in com.facebook.swift.codec.metadata
-
- ThriftStructMetadata(String, Type, Type, ThriftStructMetadata.MetadataType, Optional<ThriftMethodInjection>, List<String>, List<ThriftFieldMetadata>, Optional<ThriftConstructorInjection>, List<ThriftMethodInjection>) - Constructor for class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- ThriftStructMetadata.MetadataType - Enum in com.facebook.swift.codec.metadata
-
- ThriftStructMetadataBuilder - Class in com.facebook.swift.codec.metadata
-
- ThriftStructMetadataBuilder(ThriftCatalog, Type) - Constructor for class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
-
- ThriftStructTransformer<L,R> - Class in net.gdface.thrift
-
有ThriftStruct
注释的类型之间的转换
- ThriftStructTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.ThriftStructTransformer
-
- ThriftType - Class in com.facebook.swift.codec.metadata
-
ThriftType contains all metadata necessary for converting the java type to and from Thrift.
- ThriftType(ThriftType, Type) - Constructor for class com.facebook.swift.codec.metadata.ThriftType
-
- ThriftUnionMetadataBuilder - Class in com.facebook.swift.codec.metadata
-
- ThriftUnionMetadataBuilder(ThriftCatalog, Type) - Constructor for class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
-
- ThriftUtils - Class in net.gdface.thrift
-
thrift工具
- ThriftUtils() - Constructor for class net.gdface.thrift.ThriftUtils
-
- ThriftUtils.Action - Interface in net.gdface.thrift
-
- ThriftXHRDecoder - Class in com.facebook.swift.service
-
XHR(XML Http Request)解码器
将HttpRequest
请求的内容数据(content)转为ThriftMessage
,
提供给NiftyDispatcher
- ThriftXHRDecoder() - Constructor for class com.facebook.swift.service.ThriftXHRDecoder
-
- ThriftXHREncoder - Class in com.facebook.swift.service
-
XHR(XML Http Request)编码器
将NiftyDispatcher
输出的
ThriftMessage
响应数据转为DownstreamMessageEvent
,
- ThriftXHREncoder(Supplier<HttpRequest>) - Constructor for class com.facebook.swift.service.ThriftXHREncoder
-
- ThriftXHREncoder() - Constructor for class com.facebook.swift.service.ThriftXHREncoder
-
- Thrifty2SwiftStructTransformer<L extends com.microsoft.thrifty.Struct,R> - Class in net.gdface.thrift
-
有ThriftStruct
注释的类型之间的转换
- Thrifty2SwiftStructTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.thrift.Thrifty2SwiftStructTransformer
-
- ThriftyStructMetadata - Class in net.gdface.thrift
-
- throwIfHasErrors() - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- TimeCostProbe - Class in net.gdface.utils
-
耗时统计对象
用于程序执行耗时统计
- TimeCostProbe() - Constructor for class net.gdface.utils.TimeCostProbe
-
- timerExecutor - Variable in class net.gdface.utils.DefaultExecutorProvider
-
定时任务线程池对象(自动退出封装)
- to(L, Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将value
转换为right
指定的类型
- to(List<L>, Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 List 中的元素转换为right
指定的类型
- to(Set<L>, Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Set 中的元素转换为right
指定的类型
- to(L[], Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 数组 中的元素转换为right
指定的类型
- to(int[], Class<Integer>, Class<Integer>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 int[] 转换为列表
- to(long[], Class<Long>, Class<Long>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 long[] 转换为列表
- to(double[], Class<Double>, Class<Double>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 double[] 转换为列表
- to(float[], Class<Float>, Class<Double>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 float[] 转换为Double列表
- to(short[], Class<Short>, Class<Short>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 short[] 转换为列表
- to(boolean[], Class<Boolean>, Class<Boolean>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 boolean[] 转换为列表
- to(Map<K1, V1>, Class<K1>, Class<V1>, Class<K2>, Class<V2>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将Map<K1,V1>
转换为Map<K2,V2>
- to(L, Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将value
转换为right
指定的类型
- to(List<L>, Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 List 中的元素转换为right
指定的类型
- to(Set<L>, Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Set 中的元素转换为right
指定的类型
- to(L[], Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 数组 中的元素转换为right
指定的类型
- to(int[], Class<Integer>, Class<Integer>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 int[] 转换为列表
- to(long[], Class<Long>, Class<Long>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 long[] 转换为列表
- to(double[], Class<Double>, Class<Double>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 double[] 转换为列表
- to(float[], Class<Float>, Class<Double>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 float[] 转换为Double列表
- to(short[], Class<Short>, Class<Short>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 short[] 转换为列表
- to(boolean[], Class<Boolean>, Class<Boolean>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 boolean[] 转换为列表
- to(Map<K1, V1>, Class<K1>, Class<V1>, Class<K2>, Class<V2>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将Map<K1,V1>
转换为Map<K2,V2>
- toArray(List<L>, Class<L>, Class<R>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 列表 转换为数组
- toArray(List<L>, Class<L>, Class<R>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 列表 转换为数组
- tobooleanArray(List<Boolean>, Class<Boolean>, Class<Boolean>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Boolean 列表 转换为数组
- tobooleanArray(List<Boolean>, Class<Boolean>, Class<Boolean>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Boolean 列表 转换为数组
- toDecorator(PropertyDescriptor) - Static method in class net.gdface.utils.LenientDecoratorOfDescriptor
-
- toDecoratorFun - Variable in class net.gdface.thrift.ThriftDecoratorTransformer
-
- toDelegateFun - Variable in class net.gdface.thrift.ThriftDecoratorTransformer
-
转为被装饰对象
- todoubleArray(List<Double>, Class<Double>, Class<Double>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Double 列表 转换为数组
- todoubleArray(List<Double>, Class<Double>, Class<Double>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Double 列表 转换为数组
- tofloatArray(List<Double>, Class<Double>, Class<Float>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Double 列表 转换为float数组
- tofloatArray(List<Double>, Class<Double>, Class<Float>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Double 列表 转换为float数组
- toHex(byte[]) - Static method in class net.gdface.utils.FaceUtilits
-
将16位byte[] 转换为32位的HEX格式的字符串String
- toHex(ByteBuffer) - Static method in class net.gdface.utils.FaceUtilits
-
- tointArray(List<Integer>, Class<Integer>, Class<Integer>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Integer 列表 转换为数组
- tointArray(List<Integer>, Class<Integer>, Class<Integer>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Integer 列表 转换为数组
- tolongArray(List<Long>, Class<Long>, Class<Long>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Long 列表 转换为数组
- tolongArray(List<Long>, Class<Long>, Class<Long>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Long 列表 转换为数组
- toOriginalTypeFun - Variable in class net.gdface.thrift.TypeTransformer.ThriftClientTypeTransformer
-
- toRight(L) - Method in interface net.gdface.utils.CollectionUtils.DualTransformer
-
cast L to R
- toshortArray(List<Short>, Class<Short>, Class<Short>) - Method in class net.gdface.utils.BaseTypeTransformer
-
将 Short 列表 转换为数组
- toshortArray(List<Short>, Class<Short>, Class<Short>) - Method in class net.gdface.utils.TypeTransformer
-
Deprecated.
将 Short 列表 转换为数组
- toString() - Method in class com.facebook.swift.codec.metadata.MetadataErrors
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftConstructorInjection
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftFieldExtractor
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftFieldInjection
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftMethodExtractor
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftMethodInjection
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftParameterInjection
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadata
-
- toString() - Method in class com.facebook.swift.codec.metadata.ThriftType
-
- toString() - Method in class com.facebook.swift.codec.metadata.TypeCoercion
-
- toString() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- toString() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- toString() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- toString() - Method in class net.gdface.image.Fingerprint
-
- toString(boolean) - Method in class net.gdface.image.Fingerprint
-
- toString() - Method in class net.gdface.thrift.ClientFactory
-
- toString() - Method in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- toString() - Method in class net.gdface.thrift.Swift2ThriftyExceptionTransformer
-
- toString() - Method in class net.gdface.thrift.Swift2ThriftyStructTransformer
-
- toString() - Method in class net.gdface.thrift.ThriftExceptionTransformer
-
- toString() - Method in class net.gdface.thrift.ThriftStructTransformer
-
- toString() - Method in class net.gdface.thrift.Thrifty2SwiftStructTransformer
-
- toString() - Method in class net.gdface.thrift.TypeValue
-
- toString() - Method in class net.gdface.utils.ParameterizedTypeImpl
-
- toString() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
-
- ToThrift - Annotation Type in com.facebook.swift.codec.internal.coercion
-
Marks a method as being a conversion to a native Thrift type from a Java Type.
- toThriftClientTypeFun - Variable in class net.gdface.thrift.TypeTransformer.ThriftClientTypeTransformer
-
- tranformKeys(Map<K1, V>, CollectionUtils.Function<K1, K2>, CollectionUtils.Function<K2, K1>) - Static method in class net.gdface.utils.CollectionUtils
-
- tranformKeys(Map<K1, V>, CollectionUtils.DualTransformer<K1, K2>) - Static method in class net.gdface.utils.CollectionUtils
-
Returns a view of a map where each value is transformed by a function.
- transform(Set<E1>, CollectionUtils.Function<E1, E2>, CollectionUtils.Function<E2, E1>) - Static method in class net.gdface.utils.CollectionUtils
-
- transform(Set<E1>, CollectionUtils.DualTransformer<E1, E2>) - Static method in class net.gdface.utils.CollectionUtils
-
Returns a view of a set where each key is transformed by a function.
- transform(Iterator<F>, CollectionUtils.Function<? super F, ? extends T>) - Static method in class net.gdface.utils.CollectionUtils
-
Returns an iterator that applies function
to each element of fromIterator
.
see also Iterators.transform(Iterator, com.google.common.base.Function)
- transform(Type, Type) - Method in class net.gdface.utils.ParameterizedTypeImpl
-
将当前对象的类型参数中为oldType
的元素替换为newType
- transform(Type[]) - Method in class net.gdface.utils.ParameterizedTypeImpl
-
用指定的类型参数替换当前对象的类型参数
新参数的个数与当前对象的类型参数个数必须一致,
如果新参数数组中元素为null
则对应的参数不会被替换
- transTable - Variable in class net.gdface.utils.BaseTypeTransformer
-
- transTable - Variable in class net.gdface.utils.TypeTransformer
-
Deprecated.
- traverseTypes(Type, ThriftUtils.Action) - Static method in class net.gdface.thrift.ThriftUtils
-
- traverseTypes(Type, TypeUtils.Action) - Static method in class net.gdface.utils.TypeUtils
-
- tryLock() - Method in class net.gdface.utils.ShareLock
-
- tryLock(long, TimeUnit) - Method in class net.gdface.utils.ShareLock
-
- type - Variable in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
-
- TypeCoercion - Class in com.facebook.swift.codec.metadata
-
- TypeCoercion(ThriftType, Method, Method) - Constructor for class com.facebook.swift.codec.metadata.TypeCoercion
-
- typeToString(Type) - Static method in class com.google.inject.internal.MoreTypes
-
- TypeTransformer - Class in net.gdface.thrift
-
类型转换工具类
- TypeTransformer() - Constructor for class net.gdface.thrift.TypeTransformer
-
- TypeTransformer - Class in net.gdface.utils
-
- TypeTransformer() - Constructor for class net.gdface.utils.TypeTransformer
-
Deprecated.
- TypeTransformer.ThriftClientTypeTransformer<L,M extends ThriftDecorator<L>,R> - Class in net.gdface.thrift
-
原始类型和thrift client 类型之间的转换器,需要2将完成转换,如果L->M->R
- TypeUtils - Class in net.gdface.utils
-
对象类型相关工具
- TypeUtils() - Constructor for class net.gdface.utils.TypeUtils
-
- TypeUtils.Action - Interface in net.gdface.utils
-
- TypeValue - Class in net.gdface.thrift
-
- validateConstructors() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- validateConstructors() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
-
- validateConstructors() - Method in class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
-
- validHashValue(byte[]) - Static method in class net.gdface.image.Fingerprint
-
验证是否为有效的指纹数据
- validHashValue(String) - Static method in class net.gdface.image.Fingerprint
-
- validHEX(String) - Method in class net.gdface.utils.FaceUtilits
-
字符串验证器,根据正则表达式判断字符串是否为十六进制(HEX)字符串
输入为null或空或正则表达式不匹配则返回false
- validMd5(String) - Static method in class net.gdface.utils.FaceUtilits
-
判断是否为有效的MD5字符串
- value - Variable in enum net.gdface.utils.NetworkUtil.Radix
-
- valueOf(String) - Static method in enum com.facebook.swift.codec.metadata.FieldKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.facebook.swift.codec.metadata.ThriftStructMetadata.MetadataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.facebook.swift.codec.ThriftProtocolType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.gdface.thrift.NetworkUtil.Filter
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.gdface.thrift.NetworkUtil.Radix
-
Deprecated.
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.gdface.utils.ClassLoaderUtils.ParentStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.gdface.utils.NetworkUtil.ConnectStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.gdface.utils.NetworkUtil.Filter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.gdface.utils.NetworkUtil.Radix
-
Returns the enum constant of this type with the specified name.
- valueOfField(Object, String) - Static method in class net.gdface.utils.ReflectionUtils
-
反射获取object
的私有成员
- values() - Static method in enum com.facebook.swift.codec.metadata.FieldKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.facebook.swift.codec.metadata.ThriftStructMetadata.MetadataType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.facebook.swift.codec.ThriftProtocolType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.gdface.thrift.NetworkUtil.Filter
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.gdface.thrift.NetworkUtil.Radix
-
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.gdface.utils.ClassLoaderUtils.ParentStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.gdface.utils.NetworkUtil.ConnectStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.gdface.utils.NetworkUtil.Filter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.gdface.utils.NetworkUtil.Radix
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verbose(boolean) - Method in class net.gdface.utils.CmdExecutor
-
- verifyClass(Class<? extends Annotation>) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
- verifyFieldType(short, String, Collection<FieldMetadata>, ThriftCatalog) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
-
Verifies that the the fields all have a supported Java type and that all fields map to the
exact same ThriftType.
- VOID - Static variable in class com.facebook.swift.codec.metadata.ThriftType
-