类 CacheableJdkCompiler
java.lang.Object
com.baidu.bjf.remoting.protobuf.utils.compiler.CacheableJdkCompiler
- 所有已实现的接口:
Compiler
Cacheable support compiler.
- 从以下版本开始:
- 1.8.6
- 作者:
- xiemalin
-
嵌套类概要
嵌套类修饰符和类型类说明protected static classThe Class LoadableClassLoader. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract voidCache.protected abstract byte[]Cached.Class<?>compile(String className, String code, ClassLoader classLoader, OutputStream os, long timestamp) do compile java source.
-
字段详细资料
-
compiler
The compiler.
-
-
构造器详细资料
-
CacheableJdkCompiler
Instantiates a new cacheable jdk compiler.- 参数:
compiler- the compiler
-
-
方法详细资料
-
compile
public Class<?> compile(String className, String code, ClassLoader classLoader, OutputStream os, long timestamp) 从接口复制的说明:Compilerdo compile java source. -
cached
Cached.- 参数:
className- the class nametimestamp- the timestamp- 返回:
- the byte[]
-
cache
Cache.- 参数:
className- the class namebytes- the bytestimestamp- the timestamp
-