public class SQLProducerInternalService extends Object implements ProducerInternalService
| 构造器和说明 |
|---|
SQLProducerInternalService(ProducerRepository producerRepository) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.joyqueue.domain.Producer |
add(org.joyqueue.domain.Producer producer) |
void |
delete(String id) |
List<org.joyqueue.domain.Producer> |
getAll() |
List<org.joyqueue.domain.Producer> |
getByApp(String app) |
org.joyqueue.domain.Producer |
getById(String id) |
List<org.joyqueue.domain.Producer> |
getByTopic(org.joyqueue.domain.TopicName topic) |
org.joyqueue.domain.Producer |
getByTopicAndApp(org.joyqueue.domain.TopicName topic,
String app) |
org.joyqueue.domain.Producer |
update(org.joyqueue.domain.Producer producer) |
public SQLProducerInternalService(ProducerRepository producerRepository)
public org.joyqueue.domain.Producer getById(String id)
getById 在接口中 ProducerInternalServicepublic org.joyqueue.domain.Producer getByTopicAndApp(org.joyqueue.domain.TopicName topic,
String app)
getByTopicAndApp 在接口中 ProducerInternalServicepublic List<org.joyqueue.domain.Producer> getByTopic(org.joyqueue.domain.TopicName topic)
getByTopic 在接口中 ProducerInternalServicepublic List<org.joyqueue.domain.Producer> getByApp(String app)
getByApp 在接口中 ProducerInternalServicepublic List<org.joyqueue.domain.Producer> getAll()
getAll 在接口中 ProducerInternalServicepublic org.joyqueue.domain.Producer add(org.joyqueue.domain.Producer producer)
add 在接口中 ProducerInternalServicepublic org.joyqueue.domain.Producer update(org.joyqueue.domain.Producer producer)
update 在接口中 ProducerInternalServicepublic void delete(String id)
delete 在接口中 ProducerInternalServiceCopyright © 2020 Joyqueue Community. All rights reserved.