Class JobLogsTopicService
- java.lang.Object
-
- br.pucrio.tecgraf.soma.logsmonitor.service.JobLogsTopicService
-
- All Implemented Interfaces:
TopicService
@Service public class JobLogsTopicService extends Object implements TopicService
-
-
Field Summary
Fields Modifier and Type Field Description StringlogsDirPatternStringrootDir
-
Constructor Summary
Constructors Constructor Description JobLogsTopicService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResourceMonitorEvent>getEvents(Topic topic, Long startSeqnum, Long endSeqnum)TopicTypegetTopicType()booleansubscribe(Topic topic, org.springframework.web.socket.WebSocketSession session, String subscriptionId, Long seqnum)booleanunsubscribe(String sessionId, Topic topic)
-
-
-
Method Detail
-
getTopicType
public TopicType getTopicType()
- Specified by:
getTopicTypein interfaceTopicService
-
subscribe
public boolean subscribe(Topic topic, org.springframework.web.socket.WebSocketSession session, String subscriptionId, Long seqnum)
- Specified by:
subscribein interfaceTopicService
-
unsubscribe
public boolean unsubscribe(String sessionId, Topic topic)
- Specified by:
unsubscribein interfaceTopicService
-
getEvents
public List<ResourceMonitorEvent> getEvents(Topic topic, Long startSeqnum, Long endSeqnum)
- Specified by:
getEventsin interfaceTopicService
-
-