Interface ILfnDeleteTileHandler

All Superinterfaces:
ILfnFailureHandler, ILfnServiceFailureHandler

public interface ILfnDeleteTileHandler extends ILfnServiceFailureHandler
A handler for asynchronous tile deletion operations. Tile deletions are transactions.

Unless canceled, there will always be a single interaction with the handler. Exactly one of the methods will be called, indicating that the associated request has been handled, or failed/interrupted.

Since:
10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleted(long aTransactionManagementId, long aSequentialTransactionId, long aHighestCommittedTransactionId)
    Indicates that the tile was deleted from the Tile Store, and provides a unique transaction ID for this tile deletion.
    void
    Indicates that the tile was not found in the Tile Store.

    Methods inherited from interface com.luciad.fusion.tilestore.ILfnFailureHandler

    cancelled, interrupted, threw, threw, threw

    Methods inherited from interface com.luciad.fusion.tilestore.ILfnServiceFailureHandler

    threw
  • Method Details

    • deleted

      void deleted(long aTransactionManagementId, long aSequentialTransactionId, long aHighestCommittedTransactionId)
      Indicates that the tile was deleted from the Tile Store, and provides a unique transaction ID for this tile deletion. The tile is deleted but not yet committed.

      A tile deletion transaction ID consists of two parts:

      1. transaction management ID
      2. sequential transaction ID

      The combination of the two will result in a unique transaction ID.

      The transaction management ID is normally fixed and only changes in failure scenarios. If the client has outstanding transactions with a different management ID, it has to discard its transactions and possibly retry them.

      The sequential transaction ID is a strictly increasing number. The highest committed transaction ID indicates that all outstanding transactions of the same management ID and a lower or equal transaction ID have been committed.

      Parameters:
      aTransactionManagementId - the unique transaction management ID
      aSequentialTransactionId - the sequential transaction ID for this particular request
      aHighestCommittedTransactionId - the highest committed transaction ID
    • notFound

      void notFound()
      Indicates that the tile was not found in the Tile Store. Note that since no tile was found, there is no transaction either.