Class QueuePubsubChannelFactory
java.lang.Object
cn.sliew.carp.framework.pubsub.model.AbstractLifecycle
cn.sliew.carp.framework.pubsub.model.AbstractPubsubChannelFactory
cn.sliew.carp.framework.pubsub.queue.kekio.QueuePubsubChannelFactory
- All Implemented Interfaces:
cn.sliew.carp.framework.pubsub.model.PubsubChannelFactory,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class QueuePubsubChannelFactory
extends cn.sliew.carp.framework.pubsub.model.AbstractPubsubChannelFactory
implements cn.sliew.carp.framework.pubsub.model.PubsubChannelFactory
-
Field Summary
FieldsFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionQueuePubsubChannelFactory(redis.clients.jedis.JedisPool jedisPool, com.fasterxml.jackson.databind.ObjectMapper objectMapper, cn.sliew.carp.framework.queue.kekio.QueueExecutor queueExecutor, List<cn.sliew.carp.framework.queue.kekio.Queue.DeadMessageCallback> deadMessageHandlers, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Methods inherited from class cn.sliew.carp.framework.pubsub.model.AbstractPubsubChannelFactory
get, getAllMethods inherited from class cn.sliew.carp.framework.pubsub.model.AbstractLifecycle
isRunning, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stopMethods inherited from interface cn.sliew.carp.framework.pubsub.model.PubsubChannelFactory
get, getAllMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Field Details
-
SYSTEM
- See Also:
-
-
Constructor Details
-
QueuePubsubChannelFactory
public QueuePubsubChannelFactory(redis.clients.jedis.JedisPool jedisPool, com.fasterxml.jackson.databind.ObjectMapper objectMapper, cn.sliew.carp.framework.queue.kekio.QueueExecutor queueExecutor, List<cn.sliew.carp.framework.queue.kekio.Queue.DeadMessageCallback> deadMessageHandlers, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
getSystem
- Specified by:
getSystemin interfacecn.sliew.carp.framework.pubsub.model.PubsubChannelFactory
-
doStart
- Specified by:
doStartin classcn.sliew.carp.framework.pubsub.model.AbstractLifecycle- Throws:
Exception
-
doStop
- Specified by:
doStopin classcn.sliew.carp.framework.pubsub.model.AbstractLifecycle- Throws:
Exception
-
doCreate
- Specified by:
doCreatein classcn.sliew.carp.framework.pubsub.model.AbstractPubsubChannelFactory
-