public class PartitionTapProps extends Props
BasePartitionTap
.Modifier and Type | Field and Description |
---|---|
static String |
FAIL_ON_CLOSE |
Constructor and Description |
---|
PartitionTapProps()
Constructs a new PartitionTapProps instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertiesTo(Properties properties) |
boolean |
isFailOnClose() |
static PartitionTapProps |
partitionTapProps()
Creates a new PartitionTapProps instance.
|
PartitionTapProps |
setFailOnClose(boolean failOnClose)
Method setFailOnClose controls if the PartitionTap is ignoring all Exceptions, when a TupleEntryCollector
is closed or if it should rethrow the Exception.
|
static void |
setFailOnClose(Map<Object,Object> properties,
boolean failOnClose)
Method setFailOnClose(boolean b) controls if the PartitionTap is ignoring all Excpetions, when a TupleEntryCollector
is closed or if it should rethrow the Exception.
|
buildProperties, buildProperties, buildProperties, buildProperties, setProperties, setProperties
public static final String FAIL_ON_CLOSE
public PartitionTapProps()
public static void setFailOnClose(Map<Object,Object> properties, boolean failOnClose)
properties
- a MapfailOnClose
- boolean controlling the close behaviourpublic static PartitionTapProps partitionTapProps()
public boolean isFailOnClose()
public PartitionTapProps setFailOnClose(boolean failOnClose)
failOnClose
- boolean controlling the close behaviourprotected void addPropertiesTo(Properties properties)
addPropertiesTo
in class Props
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.