Package com.hazelcast.jet
Class RestartableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hazelcast.core.HazelcastException
com.hazelcast.jet.JetException
com.hazelcast.jet.RestartableException
- All Implemented Interfaces:
Serializable
Exception to throw from job-executing methods to indicate a failure that can
be resolved by restarting the job.
It is handled when thrown from:
Processormethods- lambda functions: key & timestamp extractors, map functions...
- sources/sinks
init()method inProcessor,ProcessorSupplierandProcessorMetaSupplier(but not theirclose()methods)- ...
so configured).- Since:
- Jet 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRestartableException(String message) RestartableException(String message, Throwable cause) RestartableException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestartableException
public RestartableException() -
RestartableException
-
RestartableException
-
RestartableException
-