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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamHandler
public StreamHandler()
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()
Copyright © 2013. All Rights Reserved.