Class TLfnFailFastVectorSessionHandler

java.lang.Object
com.luciad.fusion.engine.vector.TLfnFailFastVectorSessionHandler
All Implemented Interfaces:
ILfnVectorSessionHandler

public class TLfnFailFastVectorSessionHandler extends Object implements 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
  • Constructor Details

    • TLfnFailFastVectorSessionHandler

      public TLfnFailFastVectorSessionHandler()
      Deprecated.
    • TLfnFailFastVectorSessionHandler

      public TLfnFailFastVectorSessionHandler(ILcdLogger aLogger)
      Deprecated.
  • Method Details

    • handleFailure

      public boolean handleFailure(ILfnVectorSessionHandler.FailureContext aContext, Exception aFailure)
      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 use ALfnCoverageMetadata.isIgnoreNonFatalFailures() to enforce immediate abort.

      Specified by:
      handleFailure in interface ILfnVectorSessionHandler
      Parameters:
      aContext - the context where the failure occurred, never null
      aFailure - the error causing the failure
      Returns:
      true to ignore the failure and continue the session, false to abort the fusion session.