public class CheckpointExceptionHandlerFactory extends Object
CheckpointExceptionHandler
instances that handle exceptions during checkpointing in a
StreamTask
.Constructor and Description |
---|
CheckpointExceptionHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
CheckpointExceptionHandler |
createCheckpointExceptionHandler(boolean failTaskOnCheckpointException,
Environment environment)
Returns a
CheckpointExceptionHandler that either causes a task to fail completely or to just declines
checkpoint on exception, depending on the parameter flag. |
public CheckpointExceptionHandler createCheckpointExceptionHandler(boolean failTaskOnCheckpointException, Environment environment)
CheckpointExceptionHandler
that either causes a task to fail completely or to just declines
checkpoint on exception, depending on the parameter flag.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.