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

A

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
thrift client 实例不是线程安全的,只可单线程独占使用,所以每次调用实例时要向资源池GenericObjectPool 申请一个interfaceClass的实例,用完后调用ClientFactory.releaseInstance(Object)归还,其他线程才可重复使用。
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
是否在读取图像结束时自动执行 BaseLazyImage.close()释放资源
默认为true

B

Base64DecodeFail - Exception in net.gdface.exception
Deprecated.
non-standard class name,instead use Base64DecodeFailException
Base64DecodeFail(Throwable) - Constructor for exception net.gdface.exception.Base64DecodeFail
Deprecated.
 
Base64DecodeFail() - Constructor for exception net.gdface.exception.Base64DecodeFail
Deprecated.
 
Base64DecodeFail(String) - Constructor for exception net.gdface.exception.Base64DecodeFail
Deprecated.
 
Base64DecodeFail(String, Throwable) - Constructor for exception net.gdface.exception.Base64DecodeFail
Deprecated.
 
Base64DecodeFailException - Exception in net.gdface.exception
Base64解码失败
Base64DecodeFailException(Throwable) - Constructor for exception net.gdface.exception.Base64DecodeFailException
 
Base64DecodeFailException() - Constructor for exception net.gdface.exception.Base64DecodeFailException
 
Base64DecodeFailException(String) - Constructor for exception net.gdface.exception.Base64DecodeFailException
 
Base64DecodeFailException(String, Throwable) - Constructor for exception net.gdface.exception.Base64DecodeFailException
 
Base64Utils - Class in net.gdface.utils
copy from org.apache.axiom.util.base64.Base64Utils(axiom-api-1.2.13.jar)
Base64Utils() - Constructor for class net.gdface.utils.Base64Utils
 
BaseAppConfig - Class in net.gdface.cli
应用程序配置参数抽象类
BaseAppConfig() - Constructor for class net.gdface.cli.BaseAppConfig
 
BaseFaceException - Exception in net.gdface.exception
项目中所有异常的基类
BaseFaceException(Throwable) - Constructor for exception net.gdface.exception.BaseFaceException
 
BaseFaceException() - Constructor for exception net.gdface.exception.BaseFaceException
 
BaseFaceException(String) - Constructor for exception net.gdface.exception.BaseFaceException
 
BaseFaceException(String, Throwable) - Constructor for exception net.gdface.exception.BaseFaceException
 
BaseLazyImage - Class in net.gdface.image
图像数据处理对象
BaseLazyImage() - Constructor for class net.gdface.image.BaseLazyImage
 
BaseLazyImage(byte[]) - Constructor for class net.gdface.image.BaseLazyImage
 
BaseLazyImage(File, String) - Constructor for class net.gdface.image.BaseLazyImage
用本地图像文件创建对象
BaseLazyVar() - Constructor for class net.gdface.utils.ILazyInitVariable.BaseLazyVar
 
BaseServiceException - Exception in net.gdface.thrift.exception
service exception abstract class
BaseServiceException() - Constructor for exception net.gdface.thrift.exception.BaseServiceException
 
BaseServiceException(String) - Constructor for exception net.gdface.thrift.exception.BaseServiceException
 
BaseServiceException(Throwable) - Constructor for exception net.gdface.thrift.exception.BaseServiceException
 
BaseServiceException(String, Throwable) - Constructor for exception net.gdface.thrift.exception.BaseServiceException
 
BaseServiceRuntimeException - Exception in net.gdface.thrift.exception.client
Runtime exception wrap class
all RuntimeException threw from service was wrapped to the exception
catch the exception to retrieve detail error message from service
retrieve service stack trace message by call BaseServiceRuntimeException.getServiceStackTraceMessage()
get exception type by call BaseServiceRuntimeException.getType()
BaseServiceRuntimeException(Exception) - Constructor for exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
 
BaseTls<T> - Class in net.gdface.utils
基于Thread Local Storage的双重检查锁定实现ILazyInitVariable的抽象类
原理说明参见《The "Double-Checked Locking is Broken" Declaration》
BaseTls() - Constructor for class net.gdface.utils.BaseTls
 
BaseTypeTransformer - Class in net.gdface.utils
类型转换工具类
BaseTypeTransformer() - Constructor for class net.gdface.utils.BaseTypeTransformer
 
BaseVolatile<T> - Class in net.gdface.utils
基于volatile的双重检查锁定实现ILazyInitVariable的抽象类
原理说明参见《The "Double-Checked Locking is Broken" Declaration》
要求 JDK5 以上版本
BaseVolatile() - Constructor for class net.gdface.utils.BaseVolatile
 
BeanPropertyUtils - Class in net.gdface.utils
 
BeanPropertyUtils() - Constructor for class net.gdface.utils.BeanPropertyUtils
 
BeanRelativeUtilits - Class in net.gdface.utils
 
BeanRelativeUtilits() - Constructor for class net.gdface.utils.BeanRelativeUtilits
 
BeanRelativeUtilits.FieldComparator - Class in net.gdface.utils
 
begin() - Method in class net.gdface.utils.TimeCostProbe
计时开始
BINARY - Static variable in class com.facebook.swift.codec.metadata.ThriftType
 
BOOL - Static variable in class com.facebook.swift.codec.metadata.ThriftType
 
booleanToBoxedBoolean(boolean) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedBooleanToBoolean(Boolean) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedByteToByte(Byte) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedDoubleToDouble(Double) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedFloatToDouble(Float) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedIntegerToInteger(Integer) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedLongToLong(Long) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
boxedShortToShort(Short) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
BufferUtils - Class in net.gdface.utils
NIO Buffer工具类
BufferUtils() - Constructor for class net.gdface.utils.BufferUtils
 
build() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
build() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadataBuilder
 
build() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
 
build() - Method in class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
 
build() - Method in class com.facebook.swift.service.ThriftServerService.Builder
根据参数构造 ThriftServerService实例
build(Class<T>) - Method in class com.facebook.swift.service.ThriftServerService.Builder
根据参数构造 ThriftServerService子类实例
build() - Method in class net.gdface.cli.Context.Builder
 
build(Class<T>) - Method in class net.gdface.cli.Context.Builder
 
build(Class<I>, Class<T>, Class<O>) - Method in class net.gdface.thrift.ClientFactory
构造interfaceClass实例
thriftyImplClass为null时,假设destClass为thrifty 异步实例类型
build(Class<T>, Class<O>) - Method in class net.gdface.thrift.ClientFactory
构造interfaceClass实例
ClientFactory.build(Class, Class, Class)的简化版本,当thriftImplClass只实现了一个接口时,自动推断接口类型
build() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Builds a Netty3CorsConfig with settings specified by previous method calls.
buildBuilderConstructorInjections() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
builder() - Static method in class net.gdface.cli.Context
 
builder() - Static method in class net.gdface.thrift.ClientFactory
 
builder() - Static method in class net.gdface.utils.CmdExecutor
 
builder(String) - Static method in class net.gdface.utils.CmdExecutor
 
builderMethodInjections - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
builderType - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
buildField(Collection<FieldMetadata>) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
buildField(Collection<FieldMetadata>) - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
 
buildField(Collection<FieldMetadata>) - Method in class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
 
buildFieldInjections() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
buildMethodInjections() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
buildParameterInjections(List<ParameterInjection>) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
bulider() - Static method in class com.facebook.swift.service.ThriftServerService
 
BYTE - Static variable in class com.facebook.swift.codec.metadata.ThriftType
 
byteArrayToByteBuffer(byte[]) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
byteBufferToByteArray(ByteBuffer) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
byteToBoxedByte(byte) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 

C

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
parentnull时策略
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
ListenableFuture接口的装饰类, 用于确保异步调用结束时释放异步接口实例,参见ClientFactory.releaseInstance(Object)
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.
如果host为localhost转换为"localhost"
convertHost(String) - Static method in class net.gdface.utils.NetworkUtil
如果host为localhost转换为"localhost"
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
创建一个自动退出封装的全局线程池, 子类可以使用不同的参数调用DefaultExecutorProvider.createCachedPool(Integer, Integer, Long, Integer, String)重写此方法
createExitingScheduledPool() - Method in class net.gdface.utils.DefaultExecutorProvider
创建一个自动退出封装的定时任务线程池, 子类可以使用不同的参数调用DefaultExecutorProvider.createScheduledPool(Integer, String)重写此方法
createFromCompact(byte[]) - Static method in class net.gdface.image.Fingerprint
从压缩格式指纹创建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指定区域的子矩阵

D

decode(char[], int, int) - Static method in class net.gdface.utils.Base64Utils
 
decode(String) - Static method in class net.gdface.utils.Base64Utils
 
decode(char[], int, int, OutputStream) - Static method in class net.gdface.utils.Base64Utils
 
decode(String, OutputStream) - Static method in class net.gdface.utils.Base64Utils
 
DECORATOR_CLIENT_PKG_SUFFIX - Static variable in class net.gdface.thrift.ThriftUtils
 
DECORATOR_PKG_SUFFIX - Static variable in class net.gdface.thrift.ThriftUtils
 
DecoratorThriftFieldMetadata - Class in com.facebook.swift.codec.metadata
ThriftFieldMetadata的代理类, 重载DecoratorThriftFieldMetadata.getRequiredness()方法,根据参数类型对返回值进行修改
DecoratorThriftFieldMetadata(ThriftFieldMetadata) - Constructor for class com.facebook.swift.codec.metadata.DecoratorThriftFieldMetadata
 
DecoratorThriftStructMetadata - Class in com.facebook.swift.codec.metadata
ThriftStructMetadata的代理类
重载所有ThriftFieldMetadata相关方法
DEFAULT_CONNECTION_LIMIT - Static variable in interface net.gdface.cli.ThriftServiceConstants
 
DEFAULT_FRAME_CODEC_FACTORIES - Static variable in class com.facebook.swift.service.ThriftServerService
ThriftServer.DEFAULT_FRAME_CODEC_FACTORIES基础上增加'http'支持
DEFAULT_HOST - Static variable in class net.gdface.thrift.NetworkUtil
Deprecated.
 
DEFAULT_HOST - Static variable in class net.gdface.utils.NetworkUtil
 
DEFAULT_IDLE_TIMEOUT - Static variable in interface net.gdface.cli.ThriftServiceConstants
 
DEFAULT_PROTOCOL_FACTORIES - Static variable in class com.facebook.swift.service.ThriftServerService
ThriftServer.DEFAULT_PROTOCOL_FACTORIES基础上增加'json'支持
DEFAULT_STATIC_METHOD - Static variable in interface net.gdface.cli.ThriftServiceConstants
 
DefaultExecutorProvider - Class in net.gdface.utils
提供全局线程池对象
线程池对象在应用程序结束时自动退出
DefaultExecutorProvider() - Constructor for class net.gdface.utils.DefaultExecutorProvider
 
DefaultJavaCoercions - Class in com.facebook.swift.codec.internal.coercion
 
defaultValue - Variable in class net.gdface.cli.BaseAppConfig
定义命令行参数的默认值
DEFINE_OPTION - Static variable in interface net.gdface.cli.CommonCliConstants
 
DEFINE_OPTION_DESC - Static variable in interface net.gdface.cli.CommonCliConstants
 
delegate() - Method in interface net.gdface.thrift.ThriftDecorator
返回代理对象
delegate() - Method in interface net.gdface.utils.Delegator
 
delegate - Variable in class net.gdface.utils.InterfaceDecorator
 
delegate() - Method in class net.gdface.utils.InterfaceDecorator
 
Delegator<T> - Interface in net.gdface.utils
装饰者模式接口
DeleteFail - Exception in net.gdface.exception
Deprecated.
non-standard class name,instead use DeleteFailException
DeleteFail(Throwable) - Constructor for exception net.gdface.exception.DeleteFail
Deprecated.
 
DeleteFail() - Constructor for exception net.gdface.exception.DeleteFail
Deprecated.
 
DeleteFail(String) - Constructor for exception net.gdface.exception.DeleteFail
Deprecated.
 
DeleteFail(String, Throwable) - Constructor for exception net.gdface.exception.DeleteFail
Deprecated.
 
DeleteFailException - Exception in net.gdface.exception
删除记录失败
DeleteFailException(Throwable) - Constructor for exception net.gdface.exception.DeleteFailException
 
DeleteFailException() - Constructor for exception net.gdface.exception.DeleteFailException
 
DeleteFailException(String) - Constructor for exception net.gdface.exception.DeleteFailException
 
DeleteFailException(String, Throwable) - Constructor for exception net.gdface.exception.DeleteFailException
 
DeleteImgFail - Exception in net.gdface.exception
Deprecated.
non-standard class name,instead use DeleteImgFailException
DeleteImgFail(Throwable) - Constructor for exception net.gdface.exception.DeleteImgFail
Deprecated.
 
DeleteImgFail() - Constructor for exception net.gdface.exception.DeleteImgFail
Deprecated.
 
DeleteImgFail(String) - Constructor for exception net.gdface.exception.DeleteImgFail
Deprecated.
 
DeleteImgFail(String, Throwable) - Constructor for exception net.gdface.exception.DeleteImgFail
Deprecated.
 
DeleteImgFailException - Exception in net.gdface.exception
删除图像文件失败
DeleteImgFailException(Throwable) - Constructor for exception net.gdface.exception.DeleteImgFailException
 
DeleteImgFailException() - Constructor for exception net.gdface.exception.DeleteImgFailException
 
DeleteImgFailException(String) - Constructor for exception net.gdface.exception.DeleteImgFailException
 
DeleteImgFailException(String, Throwable) - Constructor for exception net.gdface.exception.DeleteImgFailException
 
disable() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Disables CORS support.
doClass(Class<?>) - Method in interface net.gdface.thrift.ThriftUtils.Action
 
doClass(Class<?>) - Method in interface net.gdface.utils.TypeUtils.Action
 
documentation - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
doGet() - Method in class net.gdface.utils.ILazyInitVariable.BaseLazyVar
返回 T 实例
DOUBLE - Static variable in class com.facebook.swift.codec.metadata.ThriftType
 
doubleToBoxedDouble(double) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
doubleToBoxedFloat(double) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 
doubleToPrimitiveFloat(double) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 

E

EMPTY_TYPE_ARRAY - Static variable in class com.google.inject.internal.MoreTypes
 
encode(byte[]) - Static method in class net.gdface.utils.Base64Utils
Returns base64 representation of specified byte array.
encode(byte[], int, int) - Static method in class net.gdface.utils.Base64Utils
Returns base64 representation of specified byte array.
encode(byte[], int, int, StringBuffer) - Static method in class net.gdface.utils.Base64Utils
Outputs base64 representation of the specified byte array to the specified String Buffer
encode(byte[], int, int, OutputStream) - Static method in class net.gdface.utils.Base64Utils
Outputs base64 representation of the specified byte array to a byte stream.
encode(byte[], int, int, Writer) - Static method in class net.gdface.utils.Base64Utils
Outputs base64 representation of the specified byte array to a character stream.
end() - Method in class net.gdface.utils.TimeCostProbe
计时结束
EnumTransformer<L extends java.lang.Enum<L>,R extends java.lang.Enum<R>> - Class in net.gdface.utils
枚举类型转换
EnumTransformer(Class<L>, Class<R>) - Constructor for class net.gdface.utils.EnumTransformer
 
enumType(ThriftEnumMetadata<?>) - Static method in class com.facebook.swift.codec.metadata.ThriftType
 
equals(Object) - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
 
equals(Object) - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
 
equals(Object) - Method in class com.facebook.swift.codec.metadata.ThriftType
 
equals(Type, Type) - Static method in class com.google.inject.internal.MoreTypes
Returns true if a and b are equal.
equals(Object) - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
equals(Object) - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
equals(Object) - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
equals(Object) - Method in class net.gdface.image.Fingerprint
 
equals(Object) - Method in class net.gdface.thrift.TypeValue
 
equals(Map<K, V>, Map<K, V>) - Static method in class net.gdface.utils.FaceUtilits
比较两个Map是否相等
equals(Object) - Method in class net.gdface.utils.ParameterizedTypeImpl
 
errRedirect(boolean) - Method in class net.gdface.utils.CmdExecutor
 
exec() - Method in class net.gdface.utils.CmdExecutor
调用Runtime.exec(String[])执行命令
exec(StringBuffer, StringBuffer) - Method in class net.gdface.utils.CmdExecutor
调用Runtime.exec(String[])执行命令
extractBuilderClass() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractBuilderClass() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
 
extractBuilderClass() - Method in class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
 
extractFieldName(short, Collection<FieldMetadata>) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractFieldName(Method) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 
extractFieldName(String) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 
extractFieldRequiredness(short, String, Collection<FieldMetadata>) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractFromConstructors() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractFromFields() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractFromMethods() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractName() - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractName() - Method in class com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder
 
extractName() - Method in class com.facebook.swift.codec.metadata.ThriftUnionMetadataBuilder
 
extractors - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
extractParameterNames(AccessibleObject) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 

F

FACEException - Exception in net.gdface.exception
Deprecated.
non-standard class name,instead use BaseFaceException
FACEException(Throwable) - Constructor for exception net.gdface.exception.FACEException
Deprecated.
 
FACEException() - Constructor for exception net.gdface.exception.FACEException
Deprecated.
 
FACEException(String) - Constructor for exception net.gdface.exception.FACEException
Deprecated.
 
FACEException(String, Throwable) - Constructor for exception net.gdface.exception.FACEException
Deprecated.
 
FaceUtilits - Class in net.gdface.utils
 
FaceUtilits() - Constructor for class net.gdface.utils.FaceUtilits
 
FaceUtilitsX - Class in net.gdface.utils
 
FaceUtilitsX() - Constructor for class net.gdface.utils.FaceUtilitsX
 
fieldInjections - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
FieldKind - Enum in com.facebook.swift.codec.metadata
 
fields - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
fillStructField(Map<Short, TypeValue>, ThriftStructMetadata, T) - Static method in class net.gdface.thrift.ThriftUtils
填充instance实例的字段
参见 com.facebook.swift.codec.internal.reflection.ReflectionThriftStructCodec#constructStruct(Map)
finalize() - Method in class net.gdface.image.BaseLazyImage
 
finalize() - Method in class net.gdface.image.LazyImage
 
findAnnotatedFields(Class<?>, Class<? extends Annotation>) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 
findAnnotatedMethod(Class<?>, Class<? extends Annotation>, String, Class<?>...) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 
findAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
Find methods that are tagged with a given annotation somewhere in the hierarchy
findAttributeReaders(Class) - Static method in class org.apache.bytecode.ClassReader
 
Fingerprint - Class in net.gdface.image
均值哈希实现图像指纹比较,用于比较两个图像的内容的相似度
Fingerprint(byte[]) - Constructor for class net.gdface.image.Fingerprint
 
Fingerprint(String) - Constructor for class net.gdface.image.Fingerprint
 
Fingerprint(Image) - Constructor for class net.gdface.image.Fingerprint
 
firstUpperCase(String) - Static method in class net.gdface.utils.NameStringUtils
字符串首字母大写
forAnyOrigin() - Static method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Creates a Builder instance with it's origin set to '*'.
format(byte[], String, NetworkUtil.Radix) - Static method in class net.gdface.thrift.NetworkUtil
Deprecated.
byte[] 转换为radix指定格式的字符串
format(byte[], String, NetworkUtil.Radix) - Static method in class net.gdface.utils.NetworkUtil
byte[] 转换为radix指定格式的字符串
formatIp(byte[]) - Static method in class net.gdface.thrift.NetworkUtil
Deprecated.
以IP地址格式(点分位)格式化source指定的字节数组
formatIp(byte[]) - Static method in class net.gdface.utils.NetworkUtil
以IP地址格式(点分位)格式化source指定的字节数组
formatMac(byte[], String) - Static method in class net.gdface.thrift.NetworkUtil
Deprecated.
MAC地址格式(16进制)格式化source指定的字节数组
formatMac(byte[], String) - Static method in class net.gdface.utils.NetworkUtil
MAC地址格式(16进制)格式化source指定的字节数组
forOrigin(String) - Static method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Creates a Netty3CorsConfigBuilder instance with the specified origin.
forOrigins(String...) - Static method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Creates a Netty3CorsConfigBuilder instance with the specified origins.
forPattern(Pattern) - Static method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Create a Netty3CorsConfigBuilder instance with the specified pattern origin.
free() - Method in class net.gdface.utils.ResourcePool
释放当前线程占用的资源对象,放回资源队列
FREEBSD - Static variable in class net.gdface.utils.Platform
 
fromRight(R) - Method in interface net.gdface.utils.CollectionUtils.DualTransformer
cast R to L
FromThrift - Annotation Type in com.facebook.swift.codec.internal.coercion
Marks a method as being a conversion from a native Thrift type to a Java Type.

G

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
调用 FaceUtilits.getByteBuffer(Object)返回非空ByteBuffer
如果返回null或空,则抛出IOException
getBytes(T) - Static method in class net.gdface.utils.FaceUtilits
将数据对象src转换为字节数组(byte[])
src的数据类型可以是byte[],InputStream,ByteBuffer,String(base64编码),File,URL,URI 否则抛出IllegalArgumentException
对象转换为InputStream或byte[]时,可能会抛出IOExceptionsrcFileFileInputStream时,使用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
调用 FaceUtilits.getBytes(Object)返回非空字节数组
如果返回null或空字节数组,则抛出IOException
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
Deprecated.
getFilesUnchecked(Class<?>, String, ClassResourceUtils.FileFilter) - Static method in class net.gdface.utils.ClassResourceUtils
 
getFilesUnchedked(Class<?>, String) - Static method in class net.gdface.utils.ClassResourceUtils
参见 ClassResourceUtils.getResourceFileList(Class, String),
IOException封装为RuntimeException,
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
返回当前 LazyImageFactory实例
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
获取构造函数或方法的参数名
namenull时,获取构造函数的参数名
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图像(向右下)扩充为正文形(尺寸长宽最大边)

H

handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class com.facebook.swift.service.ThriftServerXHRCodec
 
handleDownstream(ChannelHandlerContext, ChannelEvent) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsHandler
 
handleUpstream(ChannelHandlerContext, ChannelEvent) - Method in class com.facebook.swift.service.ThriftServerXHRCodec
 
HAS_AWT - Static variable in class net.gdface.utils.Platform
Whether this platform provides the AWT Component class; also false if running headless.
HAS_BUFFERS - Static variable in class net.gdface.utils.Platform
Whether this platform provides NIO Buffers.
HAS_DLL_CALLBACKS - Static variable in class net.gdface.utils.Platform
Whether in-DLL callbacks are supported.
hasConstructor(Class<T>, Class<?>...) - Static method in class net.gdface.thrift.ThriftUtils
 
hasDecoratorType(Type) - Static method in class net.gdface.thrift.ThriftUtils
 
hasEmpty(byte[]...) - Static method in class net.gdface.utils.Judge
判断所有数组对象是不是有为null或空的,只要有一个,就返回true;
hasEmpty(String...) - Static method in class net.gdface.utils.Judge
判断所有数组对象是不是有为null或空的,只要有一个,就返回true;
hasEmpty(T...) - Static method in class net.gdface.utils.Judge
判断所有Collection对象是不是有为null或空的,只要有一个,就返回true;
hasEmpty(Buffer...) - Static method in class net.gdface.utils.Judge
判断所有Buffer中是否有为null或空的,只要有一个就返回true,
hasEmpty(Collection<Buffer>) - Static method in class net.gdface.utils.Judge
判断Collection中所有Buffer中是否有为null或空的,只要有一个就返回true,
hasEmpty(T[]...) - Static method in class net.gdface.utils.Judge
判断所有数组对象是不是有为null或空的,只要有一个,就返回true;
hasExplicitThriftValue() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
 
hashCode() - Method in class com.facebook.swift.codec.metadata.ThriftEnumMetadata
 
hashCode() - Method in class com.facebook.swift.codec.metadata.ThriftFieldMetadata
 
hashCode() - Method in class com.facebook.swift.codec.metadata.ThriftType
 
hashCode() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
 
hashCode() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
 
hashCode() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
hashCode() - Method in class net.gdface.thrift.TypeValue
 
hashCode() - Method in class net.gdface.utils.ParameterizedTypeImpl
 
hasNull(T...) - Static method in class net.gdface.utils.Judge
判断所有参数是不是有为null的,只要有一个,就返回true;
hasProperty(String) - Method in class net.gdface.cli.Context
 
hasRuntimeExec() - Static method in class net.gdface.utils.Platform
 
hasThriftFieldAnnotation(Method) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
height - Variable in class net.gdface.image.BaseLazyImage
 
HELP_OPTION - Static variable in interface net.gdface.cli.CommonCliConstants
 
HELP_OPTION_DESC - Static variable in interface net.gdface.cli.CommonCliConstants
 
HELP_OPTION_LONG - Static variable in interface net.gdface.cli.CommonCliConstants
 
hex2ByteBuffer(String) - Static method in class net.gdface.utils.FaceUtilits
 
hex2Bytes(String) - Static method in class net.gdface.utils.FaceUtilits
 
homepage() - Method in interface com.facebook.swift.service.XHRHomepageProvider
 
HTTP_TRANSPORT - Static variable in class com.facebook.swift.service.ThriftServerService
 

I

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
Deprecated.
non-standard class name,instead use ImageErrorException
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
Deprecated.
non-standard class name,instead use InsertFailException
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.invoke(Object, Method, Object[])方法
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
 

J

JSON_PROTOCOL - Static variable in class com.facebook.swift.service.ThriftServerService
 
jsonOfDeclaredFields() - Method in exception net.gdface.thrift.exception.BaseServiceException
return a JSON string of declared fields,subclass override it
jsonOfDeclaredFields() - Method in exception net.gdface.thrift.exception.ServiceRuntimeException
return a JSON string of declared fields,subclass override it
Judge - Class in net.gdface.utils
条件判断
Judge() - Constructor for class net.gdface.utils.Judge
 

K

KFREEBSD - Static variable in class net.gdface.utils.Platform
 

L

LazyImage - Class in net.gdface.image
图像数据处理对象
LazyImage.open()可以在不将图像全部解码加载到内存而获取图像的基本信息
LazyImage.read(ImageReadParam)使用内存做cache读取(不使用临时文件做cache)
LazyImage.read(Rectangle, ImageTypeSpecifier)可以对图像指定区域解码
LazyImage(BufferedImage) - Constructor for class net.gdface.image.LazyImage
 
LazyImage(byte[]) - Constructor for class net.gdface.image.LazyImage
 
LazyImage(File, String) - Constructor for class net.gdface.image.LazyImage
用本地图像文件创建对象
LazyImage(T) - Constructor for class net.gdface.image.LazyImage
多源创建对象
LazyImageFactory - Interface in net.gdface.image
创建 lazy image的工厂类接口
LazyImageFactoryByBitmap - Class in net.gdface.image
 
LazyImageFactoryByBitmap() - Constructor for class net.gdface.image.LazyImageFactoryByBitmap
 
LazyImageFactoryByBufferedImage - Class in net.gdface.image
 
LazyImageFactoryByBufferedImage() - Constructor for class net.gdface.image.LazyImageFactoryByBufferedImage
 
LenientDecoratorOfDescriptor - Class in net.gdface.utils
重写LenientDecoratorOfDescriptor.getWriteMethod()方法,允许返回类型不为void的write方法
LINUX - Static variable in class net.gdface.utils.Platform
 
list(ThriftType) - Static method in class com.facebook.swift.codec.metadata.ThriftType
 
ListenableFutureDecorator(A, ListenableFuture<V>) - Constructor for class net.gdface.thrift.ClientFactory.ListenableFutureDecorator
 
listToken(TypeToken<T>) - Static method in class net.gdface.thrift.ThriftUtils
 
listToken(TypeToken<T>) - Static method in class net.gdface.utils.TypeUtils
 
loadAllProperties(String, String, String, Class<?>, boolean) - Static method in class net.gdface.utils.ConfigUtils
顺序加载不同位置的properties文件,加载顺序为:
1.调用ClassLoader.getResource(String)方法在clazz所在位置查找,如果失败则抛出异常
2.如果class在jar包中,则尝试读取在jar所在位置../confFolder/propFile,tomcat下即为WEB-INF/confFolder/propFile
3.如果环境变量envVar定义,则从envVar指定的目录下读取propFile
4.user.dir下查找confFolder/propFile加载配置
后面的配置变量会覆盖前面的定义
loadConfig(Options, CommandLine) - Method in class net.gdface.cli.AbstractConfiguration
 
loadConfig(Options, CommandLine) - Method in interface net.gdface.cli.CmdConfig
 
loadConfig(Options, CommandLine) - Method in class net.gdface.cli.ThriftServiceConfig
 
loadFromJar(String) - Static method in class net.gdface.utils.NativeUtils
从jar包中位置'/lib/os_prefix'加载指定名字的动态库
os_prefix由Platform.getNativeLibraryResourcePrefix()计算
loadLibraryFromJar(String, Class<?>) - Static method in class net.gdface.utils.NativeUtils
Loads library from current JAR archive
loadLibraryFromJar(String) - Static method in class net.gdface.utils.NativeUtils
从jar包中加载指定的动态库
loadLibraryFromResource(String, Class<?>) - Static method in class net.gdface.utils.NativeUtils
从资源中加载动态库
loadPropertiesInUserHome(String) - Static method in class net.gdface.utils.ConfigUtils
基于user.home,加载相对路径propPath指定的properties文件
localFile - Variable in class net.gdface.image.BaseLazyImage
图像数据本地存储文件
lock() - Method in class net.gdface.utils.ShareLock
 
lockInterruptibly() - Method in class net.gdface.utils.ShareLock
 
log(PrintStream, String, Object...) - Static method in class net.gdface.utils.SampleLog
printStream输出日志信息
example:
log(String, Object...) - Static method in class net.gdface.utils.SampleLog
向控制台输出日志信息
log(String) - Method in class net.gdface.utils.TimeCostProbe
输出耗时统计信息
log(String, TimeUnit) - Method in class net.gdface.utils.TimeCostProbe
以unit为时间单位输出统计信息
log() - Method in class net.gdface.utils.TimeCostProbe
 
logger - Static variable in class net.gdface.cli.BaseAppConfig
 
logThriftServerConfig(ThriftServerConfig) - Static method in class com.facebook.swift.service.ThriftServerService
log 输出config中的关键参数
longToBoxedLong(long) - Static method in class com.facebook.swift.codec.internal.coercion.DefaultJavaCoercions
 

M

MAC - Static variable in class net.gdface.utils.Platform
 
makeURLClassLoader(ClassLoader, String...) - Static method in class net.gdface.utils.ClassLoaderUtils
 
makeURLClassLoader(ClassLoader, boolean, String...) - Static method in class net.gdface.utils.ClassLoaderUtils
 
makeURLClassLoader(ClassLoader, boolean, String[], String[]) - Static method in class net.gdface.utils.ClassLoaderUtils
根据libdirs提供的lib路径和classpath创建URLClassLoader实例
如果所有的参数中都没有找URL(jar或class 文件夹),则抛出异常
makeURLClassLoader(ClassLoader, boolean, Collection<String>, Collection<String>) - Static method in class net.gdface.utils.ClassLoaderUtils
 
map(ThriftType, ThriftType) - Static method in class com.facebook.swift.codec.metadata.ThriftType
 
mapToken(TypeToken<K>, TypeToken<V>) - Static method in class net.gdface.thrift.ThriftUtils
 
mapToken(TypeToken<K>, TypeToken<V>) - Static method in class net.gdface.utils.TypeUtils
 
MATH_LIBRARY_NAME - Static variable in class net.gdface.utils.Platform
Canonical name of this platform's math library.
matrixBGR - Variable in class net.gdface.image.BaseLazyImage
BGR格式的图像矩阵数据(全图)
matrixGray - Variable in class net.gdface.image.BaseLazyImage
灰度图像矩阵数据(全图)
matrixRGB - Variable in class net.gdface.image.BaseLazyImage
RGB格式的图像矩阵数据(全图)
matrixRGBA - Variable in class net.gdface.image.BaseLazyImage
RGBA格式的图像矩阵数据(全图)
maxAge() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
Gets the maxAge setting.
maxAge(long) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
When making a preflight request the client has to perform two request with can be inefficient.
md5 - Variable in class net.gdface.image.BaseLazyImage
图像数据的MD5校验码
message - Variable in exception net.gdface.thrift.exception.client.BaseServiceRuntimeException
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class com.facebook.swift.service.ThriftXHRDecoder
 
messageReceived(ChannelHandlerContext, MessageEvent) - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsHandler
 
MetadataErrorException - Exception in com.facebook.swift.codec.metadata
 
MetadataErrorException(String, Object...) - Constructor for exception com.facebook.swift.codec.metadata.MetadataErrorException
 
MetadataErrorException(Throwable, String, Object...) - Constructor for exception com.facebook.swift.codec.metadata.MetadataErrorException
 
metadataErrors - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
MetadataErrors - Class in com.facebook.swift.codec.metadata
MetadataErrors collects all known issues with metadata extraction.
MetadataErrors() - Constructor for class com.facebook.swift.codec.metadata.MetadataErrors
 
MetadataErrors(MetadataErrors.Monitor) - Constructor for class com.facebook.swift.codec.metadata.MetadataErrors
 
MetadataErrors.Monitor - Interface in com.facebook.swift.codec.metadata
 
MetadataWarningException - Exception in com.facebook.swift.codec.metadata
 
MetadataWarningException(String, Object...) - Constructor for exception com.facebook.swift.codec.metadata.MetadataWarningException
 
MetadataWarningException(Throwable, String, Object...) - Constructor for exception com.facebook.swift.codec.metadata.MetadataWarningException
 
methodInjections - Variable in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
MethodTable - Class in org.apache.bytecode
 
MethodTable(Class) - Constructor for class org.apache.bytecode.MethodTable
 
MoreTypes - Class in com.google.inject.internal
Static methods for working with types that we aren't publishing in the public Types API.
MoreTypes.GenericArrayTypeImpl - Class in com.google.inject.internal
 
MoreTypes.ParameterizedTypeImpl - Class in com.google.inject.internal
 
MoreTypes.WildcardTypeImpl - Class in com.google.inject.internal
The WildcardType interface supports multiple upper bounds and multiple lower bounds.

N

NameStringUtils - Class in net.gdface.utils
 
NameStringUtils() - Constructor for class net.gdface.utils.NameStringUtils
 
NATIVE_FOLDER_PATH_PREFIX - Static variable in class net.gdface.utils.NativeUtils
 
NativeUtils - Class in net.gdface.utils
从jar包中加载指定路径下的动态库
needTransformer(Type) - Static method in class net.gdface.thrift.ThriftUtils
 
net.gdface.cli - package net.gdface.cli
 
net.gdface.exception - package net.gdface.exception
 
net.gdface.image - package net.gdface.image
 
net.gdface.thrift - package net.gdface.thrift
 
net.gdface.thrift.exception - package net.gdface.thrift.exception
 
net.gdface.thrift.exception.client - package net.gdface.thrift.exception.client
 
net.gdface.utils - package net.gdface.utils
 
NETBSD - Static variable in class net.gdface.utils.Platform
 
Netty3CorsConfig - Class in org.jboss.netty3.handler.codec.http.cors
Configuration for Cross-Origin Resource Sharing (CORS).
Netty3CorsConfigBuilder - Class in org.jboss.netty3.handler.codec.http.cors
Builder used to configure and build a Netty3CorsConfig instance.
Netty3CorsHandler - Class in org.jboss.netty3.handler.codec.http.cors
Handles Cross Origin Resource Sharing (CORS) requests.
Netty3CorsHandler(Netty3CorsConfig) - Constructor for class org.jboss.netty3.handler.codec.http.cors.Netty3CorsHandler
Creates a new instance with the specified Netty3CorsConfig.
NetworkUtil - Class in net.gdface.thrift
Deprecated.
instead use NetworkUtil in com.gitee.l0km:common-base2 since version 1.0.7
NetworkUtil() - Constructor for class net.gdface.thrift.NetworkUtil
Deprecated.
 
NetworkUtil - Class in net.gdface.utils
网络管理工具类
NetworkUtil() - Constructor for class net.gdface.utils.NetworkUtil
 
NetworkUtil.ConnectStatus - Enum in net.gdface.utils
连接测试返回状态
NetworkUtil.Filter - Enum in net.gdface.thrift
Deprecated.
 
NetworkUtil.Filter - Enum in net.gdface.utils
 
NetworkUtil.Radix - Enum in net.gdface.thrift
Deprecated.
 
NetworkUtil.Radix - Enum in net.gdface.utils
 
newCondition() - Method in class net.gdface.utils.ShareLock
 
newResource() - Method in class net.gdface.utils.ResourcePool
创建一个新的资源对象
niftyClientAddress() - Static method in class net.gdface.thrift.ServiceUtil
返回客户端IP地址
noPreflightResponseHeaders() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfigBuilder
Specifies that no preflight response headers should be added to a preflight response.
normalizeDirPath(String) - Static method in class net.gdface.utils.ClassResourceUtils
Return a normalized directory path, end with "/", but not start with one
normalizePath(String) - Static method in class net.gdface.utils.ClassResourceUtils
Return a context-relative path, beginning with a "/", that represents the canonical version of the specified path after ".." and "." elements are resolved out.
normalizeThriftFields(ThriftCatalog) - Method in class com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder
 
notEmpty(T[], String) - Static method in class net.gdface.utils.Assert
 
notEmpty(T, String) - Static method in class net.gdface.utils.Assert
 
notEmpty(T, String) - Static method in class net.gdface.utils.Assert
 
notEmpty(byte[], String) - Static method in class net.gdface.utils.Assert
 
notEmpty(String, String) - Static method in class net.gdface.utils.Assert
 
notEmpty(String, String, String) - Static method in class net.gdface.utils.Assert
 
notEmpty(Buffer, String) - Static method in class net.gdface.utils.Assert
 
notEmptyElement(String[], String) - Static method in class net.gdface.utils.Assert
 
notEmptyElement(Buffer[], String) - Static method in class net.gdface.utils.Assert
 
notEmptyElement(Collection<Buffer>, String) - Static method in class net.gdface.utils.Assert
 
NotFoundBean - Exception in net.gdface.exception
Deprecated.
non-standard class name,instead use NotFoundBeanException
NotFoundBean(Throwable) - Constructor for exception net.gdface.exception.NotFoundBean
Deprecated.
 
NotFoundBean() - Constructor for exception net.gdface.exception.NotFoundBean
Deprecated.
 
NotFoundBean(String) - Constructor for exception net.gdface.exception.NotFoundBean
Deprecated.
 
NotFoundBean(String, Throwable) - Constructor for exception net.gdface.exception.NotFoundBean
Deprecated.
 
NotFoundBeanException - Exception in net.gdface.exception
没有找到记录
NotFoundBeanException(Throwable) - Constructor for exception net.gdface.exception.NotFoundBeanException
 
NotFoundBeanException() - Constructor for exception net.gdface.exception.NotFoundBeanException
 
NotFoundBeanException(String) - Constructor for exception net.gdface.exception.NotFoundBeanException
 
NotFoundBeanException(String, Throwable) - Constructor for exception net.gdface.exception.NotFoundBeanException
 
NotFoundLazyImageFactoryException - Exception in net.gdface.image
没有找到LazyImageFactory实例异常
NotFoundLazyImageFactoryException(Throwable) - Constructor for exception net.gdface.image.NotFoundLazyImageFactoryException
 
NotFoundLazyImageFactoryException() - Constructor for exception net.gdface.image.NotFoundLazyImageFactoryException
 
NotFoundLazyImageFactoryException(String) - Constructor for exception net.gdface.image.NotFoundLazyImageFactoryException
 
NotFoundLazyImageFactoryException(String, Throwable) - Constructor for exception net.gdface.image.NotFoundLazyImageFactoryException
 
NotImage - Exception in net.gdface.image
Deprecated.
non-standard class name,instead use NotImageException
NotImage(Throwable) - Constructor for exception net.gdface.image.NotImage
Deprecated.
 
NotImage() - Constructor for exception net.gdface.image.NotImage
Deprecated.
 
NotImage(String) - Constructor for exception net.gdface.image.NotImage
Deprecated.
 
NotImage(String, Throwable) - Constructor for exception net.gdface.image.NotImage
Deprecated.
 
NotImageException - Exception in net.gdface.image
非图像数据
NotImageException(Throwable) - Constructor for exception net.gdface.image.NotImageException
 
NotImageException() - Constructor for exception net.gdface.image.NotImageException
 
NotImageException(String) - Constructor for exception net.gdface.image.NotImageException
 
NotImageException(String, Throwable) - Constructor for exception net.gdface.image.NotImageException
 
notLoadCodeTable() - Static method in class net.gdface.utils.FaceUtilitsX
当类被加载的时候,根据环境变量‘notLoadCodeTable’判断是否要加载code表
如果没有定义环境变量,则默认为false
notNull(T, String) - Static method in class net.gdface.utils.Assert
 
notNull(T, String, String) - Static method in class net.gdface.utils.Assert
 
notNullElement(T[], String) - Static method in class net.gdface.utils.Assert
 
NULL_MONITOR - Static variable in class com.facebook.swift.codec.metadata.MetadataErrors
 

O

onError(MetadataErrorException) - Method in interface com.facebook.swift.codec.metadata.MetadataErrors.Monitor
 
onWarning(MetadataWarningException) - Method in interface com.facebook.swift.codec.metadata.MetadataErrors.Monitor
 
open() - Method in class net.gdface.image.BaseLazyImage
读取图像基本信息,检查图像数据有效性
open() - Method in class net.gdface.image.LazyImage
通过ImageReader来读取图像基本信息,检查图像数据有效性
open(R) - Method in class net.gdface.utils.ResourcePool
资源从队形从取出时调用,子类可重写此方法
OPENBSD - Static variable in class net.gdface.utils.Platform
 
options - Variable in class net.gdface.cli.BaseAppConfig
定义命令行参数
org.apache.bytecode - package org.apache.bytecode
 
org.jboss.netty3.handler.codec.http.cors - package org.jboss.netty3.handler.codec.http.cors
 
origin() - Method in class net.gdface.utils.LenientDecoratorOfDescriptor
 
origins() - Method in class org.jboss.netty3.handler.codec.http.cors.Netty3CorsConfig
Returns the set of allowed origins.

P

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
获取构造函数或方法的参数名
当不能获取参数名的情况下, returnFakeNameIfFailfalse时返回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

Q

queue - Variable in class net.gdface.utils.ResourcePool
资源队列

R

read(ImageReadParam) - Method in class net.gdface.image.LazyImage
对图像数据解码生成 BufferedImage对象
read() - Method in class net.gdface.image.LazyImage
 
read(Rectangle, ImageTypeSpecifier) - Method in class net.gdface.image.LazyImage
对图像数据指定的区域解码
readAttributes() - Method in class org.apache.bytecode.ClassReader
Reads an attributes array.
readBytes(InputStream) - Static method in class net.gdface.utils.FaceUtilits
InputStream读取字节数组
inFileInputStream时,调用FaceUtilits.readBytes(FileInputStream)(NIO方式)读取
结束时会关闭InputStream
readBytes(FileInputStream) - Static method in class net.gdface.utils.FaceUtilits
NIO方式从FileInputStream读取字节数组
结束时会关闭InputStream
readCode() - Method in class org.apache.bytecode.ClassReader
Reads a code attribute.
readCode() - Method in class org.apache.bytecode.ParamReader
 
readCpool() - Method in class org.apache.bytecode.ClassReader
 
readInt() - Method in class org.apache.bytecode.ClassReader
 
readLocalVariableTable() - Method in class org.apache.bytecode.ParamReader
This is invoked when a LocalVariableTable attribute is encountered.
readShort() - Method in class org.apache.bytecode.ClassReader
 
ReflectionHelper - Class in com.facebook.swift.codec.metadata
 
ReflectionUtils - Class in net.gdface.utils
 
ReflectionUtils() - Constructor for class net.gdface.utils.ReflectionUtils
 
releaseInstance(T) - Method in class net.gdface.thrift.ClientFactory
释放instance实例使用权,必须和ClientFactory.applyInstance(Class)配对使用
resetPrefix() - Method in class net.gdface.utils.Configuration
resize(BufferedImage, int, int, boolean) - Static method in class net.gdface.image.ImageUtil
对图像进行缩放
resolveClass(int) - Method in class org.apache.bytecode.ClassReader
 
resolveField(int) - Method in class org.apache.bytecode.ClassReader
 
resolveFieldType(Type, Type) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 
resolveFieldTypes(Type, Type[]) - Static method in class com.facebook.swift.codec.metadata.ReflectionHelper
 
resolveMethod(int) - Method in class org.apache.bytecode.ClassReader
 
resolveNameAndType(int) - Method in class org.apache.bytecode.ClassReader
 
resolveUtf8(int) - Method in class org.apache.bytecode.ClassReader
 
RESOURCE_PREFIX - Static variable in class net.gdface.utils.Platform
Canonical resource prefix for the current platform.
resourceExist(Class<?>, String) - Static method in class net.gdface.utils.ClassResourceUtils
Returns true if resource exist.
ResourcePool<R> - Class in net.gdface.utils
资源池管理对象
ResourcePool.apply(),ResourcePool.free()用于申请/释放资源,申请的资源对象不可跨线程调用,
通过重写ResourcePool.isNestable()方法决定是否允许嵌套调用
ResourcePool() - Constructor for class net.gdface.utils.ResourcePool
 
ResourcePool(Collection<R>) - Constructor for class net.gdface.utils.ResourcePool
构造方法
ResourcePool(R...) - Constructor for class net.gdface.utils.ResourcePool
 
ResourcePool.IntResourcePool - Class in net.gdface.utils
以固定步长生成的一组数字为资源的资源池对象
returnNull(RuntimeTApplicationException) - Static method in class net.gdface.thrift.ThriftUtils
避免null抛出异常
returnNull(Throwable) - Static method in class net.gdface.thrift.ThriftUtils
避免null抛出异常
RO_FIELDS - Static variable in class net.gdface.utils.Platform
Whether read-only (final) fields within Structures are supported.

S

SampleLog - Class in net.gdface.utils
简单日志输出工具类
SampleLog() - Constructor for class net.gdface.utils.SampleLog
 
save(File) - Method in class net.gdface.image.BaseLazyImage
BaseLazyImage.md5为名字将文件保存在folder文件夹下
如果同名文件存在,且长度不为0时不覆盖
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
Deprecated.
non-standard class name,instead use SaveImgFailException
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
Deprecated.
non-standard class name,instead use ServiceRuntimeException
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
webservice调用产生的运行时异常
调用webservice方法时产生的所有RuntimeException在抛出到webservice客户时被封装在ServiceRuntimeException
调用 ServiceRuntimeException.getServerStackTraceMessage()可以获取服务器端的堆栈错误信息
调用ServiceRuntimeException.printServerStackTrace()输出服务器端的堆栈错误信息
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
在执行 #read()BaseLazyImage.open()之前调用,才有效
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
设置ObjectOptional标记
指定DecoratorThriftFieldMetadata.getRequiredness()方法调用时是否对Object类型参数的返回值进行替换
默认值:true
该方法只能被调用一次
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
设置primitiveOptional标记
指定DecoratorThriftFieldMetadata.getRequiredness()方法调用时是否对primitive类型及其封装类型(Integer,Long)参数的返回值进行替换
默认值:true
该方法只能被调用一次
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.maxShareCount 的资源共享锁,限制并发线程数目.
同一个线程内嵌套加锁解锁,不会重复计数
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
 

T

testConnect() - Method in class net.gdface.thrift.ClientFactory
测试当前连接是否有效
testHttpConnect(URL, Predicate<String>) - Static method in class net.gdface.utils.NetworkUtil
测试http连接是否可连接
连接失败返回NetworkUtil.ConnectStatus.FAIL, 建立连接后用 responseValidator验证响应数据,responseValidator返回true则连接有效返回NetworkUtil.ConnectStatus.CONNECTABLE, responseValidator返回false则连接无效返回NetworkUtil.ConnectStatus.INVALID_RESPONE ,
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
提供装饰对象ThriftDecorator和被装饰对象之间的类型转换
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
A combination of ThriftXHRDecoder and ThriftXHREncoder which enables easier server side HTTP implementation.
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
ThriftServiceProcessor子类,代码基本都是从父类复制过来, 只是在构造方法ThriftServiceProcessorCustom.ThriftServiceProcessorCustom(ThriftCodecManager, List, List)中 用ThriftMethodProcessorCustom替换了ThriftMethodProcessor
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
转换为thrift装饰对象ThriftDecorator
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
Deprecated.
be replaced by BaseTypeTransformer
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
 

U

unlock() - Method in class net.gdface.utils.ShareLock
 
UNSPECIFIED - Static variable in class net.gdface.utils.Platform
 
UnsupportedFormat - Exception in net.gdface.image
Deprecated.
non-standard class name,instead use UnsupportedFormatException
UnsupportedFormat(Throwable) - Constructor for exception net.gdface.image.UnsupportedFormat
Deprecated.
 
UnsupportedFormat() - Constructor for exception net.gdface.image.UnsupportedFormat
Deprecated.
 
UnsupportedFormat(String) - Constructor for exception net.gdface.image.UnsupportedFormat
Deprecated.
 
UnsupportedFormat(String, Throwable) - Constructor for exception net.gdface.image.UnsupportedFormat
Deprecated.
 
UnsupportedFormatException - Exception in net.gdface.image
不支持的图像格式
UnsupportedFormatException(Throwable) - Constructor for exception net.gdface.image.UnsupportedFormatException
 
UnsupportedFormatException() - Constructor for exception net.gdface.image.UnsupportedFormatException
 
UnsupportedFormatException(String) - Constructor for exception net.gdface.image.UnsupportedFormatException
 
UnsupportedFormatException(String, Throwable) - Constructor for exception net.gdface.image.UnsupportedFormatException
 

V

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
 

W

width - Variable in class net.gdface.image.BaseLazyImage
 
WildcardTypeImpl(Type[], Type[]) - Constructor for class com.google.inject.internal.MoreTypes.WildcardTypeImpl
 
WINDOWS - Static variable in class net.gdface.utils.Platform
 
WINDOWSCE - Static variable in class net.gdface.utils.Platform
 
wirte(BufferedImage, String, Float, OutputStream) - Static method in class net.gdface.image.ImageUtil
BufferedImage生成formatName指定格式的图像数据
wirteBMPBytes(BufferedImage) - Static method in class net.gdface.image.ImageUtil
 
wirteBytes(BufferedImage, String) - Static method in class net.gdface.image.ImageUtil
 
wirteBytes(BufferedImage, String, Float) - Static method in class net.gdface.image.ImageUtil
BufferedImage生成formatName指定格式的图像数据
wirteGIFBytes(BufferedImage) - Static method in class net.gdface.image.ImageUtil
 
wirteJPEG(OutputStream) - Method in class net.gdface.image.BaseLazyImage
 
wirteJPEGBytes() - Method in class net.gdface.image.BaseLazyImage
 
wirteJPEGBytes(BufferedImage) - Static method in class net.gdface.image.ImageUtil
 
wirteJPEGBytes(BufferedImage, Float) - Static method in class net.gdface.image.ImageUtil
将原图压缩生成jpeg格式的数据
wirteJPEGBytes() - Method in class net.gdface.image.LazyImage
 
wirtePNGB(OutputStream) - Method in class net.gdface.image.BaseLazyImage
 
wirtePNGBytes() - Method in class net.gdface.image.BaseLazyImage
 
wirtePNGBytes(BufferedImage) - Static method in class net.gdface.image.ImageUtil
 
wirtePNGBytes() - Method in class net.gdface.image.LazyImage
 
withServices(Object...) - Method in class com.facebook.swift.service.ThriftServerService.Builder
 
withServices(List<?>) - Method in class com.facebook.swift.service.ThriftServerService.Builder
 
WORK_THREADS_OPTION_DESC - Static variable in interface net.gdface.cli.ThriftServiceConstants
 
WORK_THREADS_OPTION_LONG - Static variable in interface net.gdface.cli.ThriftServiceConstants
 
wrap(A, ListenableFuture<V>) - Method in class net.gdface.thrift.ClientFactory
WRAPPER - Static variable in class net.gdface.utils.ParameterizedTypeImpl
 
write(RenderedImage, String, OutputStream, Float) - Static method in class net.gdface.image.ImageUtil
将原图压缩生成formatName指定格式的数据
除了可以指定生成的图像质量之外, 其他行为与ImageIO.write(RenderedImage, String, OutputStream)相同
writeApplicationException(TProtocol, String, int, int, String, Throwable) - Static method in class com.facebook.swift.service.ThriftServiceProcessorCustom
 
writeRequested(ChannelHandlerContext, MessageEvent) - Method in class com.facebook.swift.service.ThriftXHREncoder
 

X

XHRHomepageProvider - Interface in com.facebook.swift.service
 
A B C D E F G H I J K L M N O P Q R S T U V W X 

Copyright © 2019. All rights reserved.