Package com.sforce.bulk
Class StreamHandler
- java.lang.Object
-
- com.sforce.bulk.StreamHandler
-
public class StreamHandler extends java.lang.ObjectThis 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(java.lang.String message, java.lang.Throwable e)ConnectorConfiggetConfig()java.io.PrintStreamgetLogStream()intgetMaxErrorCount()intgetMaxRecordsInBatch()longgetMaxWaitTime()longgetWaitTime()voidinfo(java.lang.String message)booleanshouldContinue()voidshutdown()
-
-
-
Method Detail
-
getConfig
public ConnectorConfig getConfig()
-
getLogStream
public java.io.PrintStream getLogStream()
-
info
public void info(java.lang.String message)
-
error
public void error(java.lang.String message, java.lang.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()
-
-