public class

StreamHandler

extends Object
java.lang.Object
   ↳ com.sforce.bulk.StreamHandler

Class Overview

This class represents a Handler for Stream status

User: mcheenath Date: Dec 14, 2010

Summary

Constants
String BULK_TAG
Fields
private final ConnectorConfig config
private int errorCount
private boolean shutdown
Public Constructors
StreamHandler()
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String BULK_TAG

Constant Value: "BULK-STREAM:"

Fields

private final ConnectorConfig config

private int errorCount

private boolean shutdown

Public Constructors

public StreamHandler ()

Public Methods

public void error (String message, Throwable e)

Parameters
message
e

public ConnectorConfig getConfig ()

public PrintStream getLogStream ()

public int getMaxErrorCount ()

public int getMaxRecordsInBatch ()

public long getMaxWaitTime ()

public long getWaitTime ()

public void info (String message)

Parameters
message

public boolean shouldContinue ()

public void shutdown ()