Interface MonitorableQueue
- All Superinterfaces:
org.springframework.context.Lifecycle,org.springframework.context.Phased,Queue,org.springframework.context.SmartLifecycle
- All Known Implementing Classes:
AbstractRedisQueue,InMemoryQueue,JedisClusterQueue,JedisQueue,RedisQueue
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface cn.sliew.carp.framework.queue.kekio.Queue
Queue.DeadMessageCallback, Queue.QueueCallback -
Field Summary
Fields inherited from interface cn.sliew.carp.framework.queue.kekio.Queue
MAX_RETRIESFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMessage(Predicate<Message> predicate) default voidfire(QueueEvent event) Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stopMethods inherited from interface cn.sliew.carp.framework.queue.kekio.Queue
canPollMany, clear, getAckTimeout, getDeadMessageHandlers, getName, poll, poll, push, push, retryMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Method Details
-
getPublisher
EventPublisher getPublisher() -
readState
MonitorableQueue.QueueState readState() -
containsMessage
-
fire
-