ing
This commit is contained in:
parent
0c640ad178
commit
16335dc1cc
|
@ -0,0 +1,16 @@
|
|||
package com.loafle.overflow.service.container;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import com.loafle.overflow.core.annotation.ProbeAPI;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
|
||||
/**
|
||||
* CrawlerService
|
||||
*/
|
||||
public interface CrawlerService {
|
||||
@ProbeAPI
|
||||
void Auth(String crawlerName, Map<String, Object> authInfoMap) throws OverflowException;
|
||||
@ProbeAPI
|
||||
Map<String, String> Get(String sensorConfigID) throws OverflowException;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package com.loafle.overflow.service.container;
|
||||
|
||||
/**
|
||||
* ProbeService
|
||||
*/
|
||||
public interface ProbeService {
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
package com.loafle.overflow.service.container;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.loafle.overflow.core.annotation.ProbeAPI;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
import com.loafle.overflow.model.sensorconfig.SensorConfig;
|
||||
|
||||
/**
|
||||
* SensorConfigService
|
||||
*/
|
||||
public interface SensorConfigService {
|
||||
@ProbeAPI
|
||||
void InitConfig(List<SensorConfig> sensorConfigs) throws OverflowException;
|
||||
@ProbeAPI
|
||||
void AddConfig(SensorConfig sensorConfig) throws OverflowException;
|
||||
@ProbeAPI
|
||||
void UpdateConfig(SensorConfig sensorConfig) throws OverflowException;
|
||||
@ProbeAPI
|
||||
void RemoveConfig(String configID) throws OverflowException;
|
||||
}
|
Loading…
Reference in New Issue
Block a user