null
.
*/
Setnull
.
*/
SetChannelFactory
that will be injected
* into any {@link Configuration} that has a
* {@link Configuration#getMultiplexerStack() multiplexer stack}
* configured.
*
* @return a channel factory
*/
ChannelFactory getChannelFactory();
/**
* Get a cache configured according to the given configuration name,
* optionally instantiating the cache if it hasn't already been
* instantiated.
* * The caller is free to invoke the {@link Cache#create()} and * {@link Cache#start()} lifecycle methods on the returned cache, but * the @link Cache#stop()} and {@link Cache#destroy()} methods should not * be invoked, since it is quite possible other users are still using the * cache. Use {@link #releaseCache(String)} to notify this * registry that the caller is no longer using a cache; let the registry * control stopping and destroying the cache. *
*
* If invoking this method leads to the instantiation of the cache,
* create()
and start()
will not be invoked
* on the cache before it is returned.
*
null
if
* create
is false and the cache hasn't
* been created previously.
* @throws IllegalArgumentException if this object is unaware of
* configName
; i.e. the set
* returned from {@link #getConfigurationNames()}
* does not include configName
* @throws Exception if there is a problem instantiating the cache
*/
Cache