| 限定符和类型 | 方法和说明 |
|---|---|
ActivemqPoolLazy |
ActivemqPoolLazy.asDefaultInstance()
将当前实例指定为默认实例
|
static ActivemqPoolLazy |
ActivemqPoolLazys.createDefaultInstance(java.util.Properties props)
根据指定的连接参数创建默认实例,只能被调用一次(线程安全)
|
static ActivemqPoolLazy |
ActivemqPoolLazys.getDefaultInstance()
返回默认实例,如果
ActivemqPoolLazys.defaultInstance为null则创建默认实例 |
static ActivemqPoolLazy |
ActivemqPoolLazys.getInstance(java.util.Properties props)
查找在连接池对象集合中查找对应的匹配的对象,找不到就创建新实例
|
static ActivemqPoolLazy |
ActivemqPoolLazys.getInstance(java.net.URI uri)
根据uri查找在连接池对象集合中查找对应的匹配的对象,找不到就创建新实例
|
static ActivemqPoolLazy |
ActivemqPoolLazys.getInstanceByURI(java.lang.String uri) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ActivemqConsumer |
ActivemqFactory.getConsumer(ActivemqPoolLazy jedisPoolLazy)
返回
ActivemqPoolLazy对应的ActivemqConsumer实例 |
static ActivemqProducer |
ActivemqFactory.getProducer(ActivemqPoolLazy jedisPoolLazy)
返回
ActivemqPoolLazy对应的ActivemqProducer实例 |
static ActivemqPublisher |
ActivemqFactory.getPublisher(ActivemqPoolLazy jedisPoolLazy)
|
static ActivemqSubscriber |
ActivemqFactory.getSubscriber(ActivemqPoolLazy jedisPoolLazy)
|
static AdvisoryMessageManager |
AdvisoryMessageManager.instanceOf(ActivemqPoolLazy pool) |
static boolean |
ActivemqPoolLazys.setDefaultInstance(ActivemqPoolLazy poolLazy)
|
| 构造器和说明 |
|---|
ActivemqProducer(ActivemqPoolLazy poolLazy) |
ActivemqPublisher(ActivemqPoolLazy poolLazy) |
Copyright © 2020. All Rights Reserved.