public class StreamHandler extends Object
| Constructor and Description |
|---|
StreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
Throwable e) |
ConnectorConfig |
getConfig() |
PrintStream |
getLogStream() |
int |
getMaxErrorCount() |
int |
getMaxRecordsInBatch() |
long |
getMaxWaitTime() |
long |
getWaitTime() |
void |
info(String message) |
boolean |
shouldContinue() |
void |
shutdown() |
public ConnectorConfig getConfig()
public PrintStream getLogStream()
public void info(String message)
public void error(String message, Throwable e) throws StreamException
StreamExceptionpublic long getWaitTime()
public void shutdown()
public boolean shouldContinue()
public int getMaxErrorCount()
public int getMaxRecordsInBatch()
public long getMaxWaitTime()
Copyright © 2015. All Rights Reserved.