com.sforce.bulk
Class StreamHandler

java.lang.Object
  extended by 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
StreamHandler()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamHandler

public StreamHandler()
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()


Copyright © 2013. All Rights Reserved.