| 限定符和类型 | 方法和说明 |
|---|---|
Cache |
CacheFactory.getCache(URL url,
Invocation invocation) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AdaptiveCompiler
AdaptiveCompiler.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AdaptiveExtensionFactory
AdaptiveExtensionFactory
|
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectInput |
Serialization.deserialize(URL url,
InputStream input)
create deserializer
|
ObjectOutput |
Serialization.serialize(URL url,
OutputStream output)
create serializer
|
| 限定符和类型 | 方法和说明 |
|---|---|
Executor |
ThreadPool.getExecutor(URL url)
Thread pool
|
| 限定符和类型 | 方法和说明 |
|---|---|
Monitor |
MonitorFactory.getMonitor(URL url)
Create monitor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Registry |
RegistryFactory.getRegistry(URL url)
Connect to the registry
Connecting the registry needs to support the contract:
1. |
| 限定符和类型 | 方法和说明 |
|---|---|
Server |
Transporter.bind(URL url,
ChannelHandler handler)
Bind a server.
|
Client |
Transporter.connect(URL url,
ChannelHandler handler)
Connect to a server.
|
Object |
Codec2.decode(Channel channel,
ChannelBuffer buffer) |
Object |
Codec.decode(Channel channel,
InputStream input)
已过时。
Decode message.
|
ChannelHandler |
Dispatcher.dispatch(ChannelHandler handler,
URL url)
dispatch the message to threadpool.
|
void |
Codec2.encode(Channel channel,
ChannelBuffer buffer,
Object message) |
void |
Codec.encode(Channel channel,
OutputStream output,
Object message)
已过时。
Encode message.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExchangeServer |
Exchanger.bind(URL url,
ExchangeHandler handler)
bind.
|
ExchangeClient |
Exchanger.connect(URL url,
ExchangeHandler handler)
connect.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpServer |
HttpBinder.bind(URL url,
HttpHandler handler)
bind the server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpServer |
ServletHttpBinder.bind(URL url,
HttpHandler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Exporter<T> |
Protocol.export(Invoker<T> invoker)
Export service for remote invocation:
1. |
<T> Invoker<T> |
ProxyFactory.getInvoker(T proxy,
Class<T> type,
URL url)
create invoker.
|
<T> T |
ProxyFactory.getProxy(Invoker<T> invoker)
create proxy.
|
<T> T |
ProxyFactory.getProxy(Invoker<T> invoker,
boolean generic)
create proxy.
|
<T> Invoker<T> |
Protocol.refer(Class<T> type,
URL url)
Refer a remote service:
1. |
| 限定符和类型 | 方法和说明 |
|---|---|
Configurator |
ConfiguratorFactory.getConfigurator(URL url)
get the configurator instance.
|
Router |
RouterFactory.getRouter(URL url)
Create router.
|
<T> Invoker<T> |
Cluster.join(Directory<T> directory)
Merge the directory invokers to a virtual invoker.
|
<T> Invoker<T> |
LoadBalance.select(List<Invoker<T>> invokers,
URL url,
Invocation invocation)
select one invoker in list.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Validator |
Validation.getValidator(URL url) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.