Package com.sforce.bulk
Class StreamHandler
- java.lang.Object
-
- com.sforce.bulk.StreamHandler
-
public class StreamHandler extends Object
This class represents a Handler for Stream status User: mcheenath Date: Dec 14, 2010
-
-
Constructor Summary
Constructors Constructor Description StreamHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(String message, Throwable e)ConnectorConfiggetConfig()PrintStreamgetLogStream()intgetMaxErrorCount()intgetMaxRecordsInBatch()longgetMaxWaitTime()longgetWaitTime()voidinfo(String message)booleanshouldContinue()voidshutdown()
-
-
-
Method Detail
-
getConfig
public ConnectorConfig getConfig()
-
getLogStream
public PrintStream getLogStream()
-
info
public void info(String message)
-
error
public void error(String message, Throwable e) throws StreamException
- Throws:
StreamException
-
getWaitTime
public long getWaitTime()
-
shutdown
public void shutdown()
-
shouldContinue
public boolean shouldContinue()
-
getMaxErrorCount
public int getMaxErrorCount()
-
getMaxRecordsInBatch
public int getMaxRecordsInBatch()
-
getMaxWaitTime
public long getMaxWaitTime()
-
-