Package com.luciad.fusion.engine.vector
Class TLfnFailFastVectorSessionHandler
java.lang.Object
com.luciad.fusion.engine.vector.TLfnFailFastVectorSessionHandler
- All Implemented Interfaces:
ILfnVectorSessionHandler
Deprecated.
Since 2017.0 support for coverages of type VECTOR has been superseded with other mechanisms. Please refer to the Fusion migration guide for more information.
A simple vector session handler that logs a message and aborts the fusion if a failure occurs.
- Since:
- 11.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.luciad.fusion.engine.vector.ILfnVectorSessionHandler
ILfnVectorSessionHandler.FailureContext
-
Constructor Summary
ConstructorDescriptionDeprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleFailure
(ILfnVectorSessionHandler.FailureContext aContext, Exception aFailure) Deprecated.Notifies the handler of a failure and determines whether to continue or abort the session.
-
Constructor Details
-
TLfnFailFastVectorSessionHandler
public TLfnFailFastVectorSessionHandler()Deprecated. -
TLfnFailFastVectorSessionHandler
Deprecated.
-
-
Method Details
-
handleFailure
Deprecated.Description copied from interface:ILfnVectorSessionHandler
Notifies the handler of a failure and determines whether to continue or abort the session. When continuing the session, the tile will be retried and the offending feature or asset will be ignored.Note that the fusion process may continue for a while, even if you return
false
. It is better to useALfnCoverageMetadata.isIgnoreNonFatalFailures()
to enforce immediate abort.- Specified by:
handleFailure
in interfaceILfnVectorSessionHandler
- Parameters:
aContext
- the context where the failure occurred, nevernull
aFailure
- the error causing the failure- Returns:
true
to ignore the failure and continue the session,false
to abort the fusion session.
-