Package cn.thinkingdata.analytics
Class BatchConsumer
- java.lang.Object
-
- cn.thinkingdata.analytics.TDBatchConsumer
-
- cn.thinkingdata.analytics.BatchConsumer
-
- All Implemented Interfaces:
ITDConsumer
@Deprecated public class BatchConsumer extends TDBatchConsumer
Deprecated.please use TDBatchConsumer instead
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class cn.thinkingdata.analytics.TDBatchConsumer
TDBatchConsumer.Config
-
-
Constructor Summary
Constructors Constructor Description BatchConsumer(String serverUrl, String appId)Deprecated.BatchConsumer(String serverUrl, String appId, boolean isThrowException)Deprecated.init BatchConsumer with serverUrl and appIdBatchConsumer(String serverUrl, String appId, int batchSize, int timeout, boolean autoFlush, int interval)Deprecated.init BatchConsumerBatchConsumer(String serverUrl, String appId, int batchSize, int timeout, boolean autoFlush, int interval, String compress)Deprecated.init BatchConsumerBatchConsumer(String serverUrl, String appId, TDBatchConsumer.Config config)Deprecated.
-
-
-
Constructor Detail
-
BatchConsumer
public BatchConsumer(String serverUrl, String appId) throws URISyntaxException
Deprecated.- Throws:
URISyntaxException
-
BatchConsumer
public BatchConsumer(String serverUrl, String appId, boolean isThrowException) throws URISyntaxException
Deprecated.init BatchConsumer with serverUrl and appId- Parameters:
serverUrl- serverUrlappId- APP IDisThrowException- throw exception or not- Throws:
URISyntaxException- exception
-
BatchConsumer
public BatchConsumer(String serverUrl, String appId, TDBatchConsumer.Config config) throws URISyntaxException
Deprecated.- Parameters:
serverUrl- serverUrlappId- APP IDconfig- BatchConsumer config- Throws:
URISyntaxException- exception
-
BatchConsumer
public BatchConsumer(String serverUrl, String appId, int batchSize, int timeout, boolean autoFlush, int interval) throws URISyntaxException
Deprecated.init BatchConsumer- Parameters:
serverUrl- serverUrlappId- APP IDbatchSize- flush event count each timetimeout- http timeout (Unit: mill second)autoFlush- is auto flush or notinterval- auto flush spacing (Unit: second)- Throws:
URISyntaxException- exception
-
BatchConsumer
public BatchConsumer(String serverUrl, String appId, int batchSize, int timeout, boolean autoFlush, int interval, String compress) throws URISyntaxException
Deprecated.init BatchConsumer- Parameters:
serverUrl- serverUrlappId- APP IDbatchSize- flush event count each timetimeout- http timeout (Unit: mill second)autoFlush- is auto flush or notinterval- auto flush spacing (Unit: second)compress- compress type- Throws:
URISyntaxException- exception
-
-