public class SQLConsumerInternalService extends Object implements ConsumerInternalService
| 构造器和说明 |
|---|
SQLConsumerInternalService(ConsumerRepository consumerRepository) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.joyqueue.domain.Consumer |
add(org.joyqueue.domain.Consumer consumer) |
void |
delete(String id) |
List<org.joyqueue.domain.Consumer> |
getAll() |
List<org.joyqueue.domain.Consumer> |
getByApp(String app) |
org.joyqueue.domain.Consumer |
getById(String id) |
List<org.joyqueue.domain.Consumer> |
getByTopic(org.joyqueue.domain.TopicName topic) |
org.joyqueue.domain.Consumer |
getByTopicAndApp(org.joyqueue.domain.TopicName topic,
String app) |
org.joyqueue.domain.Consumer |
update(org.joyqueue.domain.Consumer consumer) |
public SQLConsumerInternalService(ConsumerRepository consumerRepository)
public org.joyqueue.domain.Consumer getById(String id)
getById 在接口中 ConsumerInternalServicepublic org.joyqueue.domain.Consumer getByTopicAndApp(org.joyqueue.domain.TopicName topic,
String app)
getByTopicAndApp 在接口中 ConsumerInternalServicepublic List<org.joyqueue.domain.Consumer> getByTopic(org.joyqueue.domain.TopicName topic)
getByTopic 在接口中 ConsumerInternalServicepublic List<org.joyqueue.domain.Consumer> getByApp(String app)
getByApp 在接口中 ConsumerInternalServicepublic List<org.joyqueue.domain.Consumer> getAll()
getAll 在接口中 ConsumerInternalServicepublic org.joyqueue.domain.Consumer add(org.joyqueue.domain.Consumer consumer)
add 在接口中 ConsumerInternalServicepublic org.joyqueue.domain.Consumer update(org.joyqueue.domain.Consumer consumer)
update 在接口中 ConsumerInternalServicepublic void delete(String id)
delete 在接口中 ConsumerInternalServiceCopyright © 2020 Joyqueue Community. All rights reserved.