Results 1 to 3 of 3
  1. #1

    Adapter snapshot lifecycle

    I just wanted to clarify when the snapshot items will be discarded by the kernel. what is the timeout or lifecycle for it.

    My understanding
    1. once all active subscriptions for that item is unsubscribed - does it happens the next second or we have a timeout for it
    2. explicitly calling the clearSnapshot method.


  2. #2
    Join Date
    Jul 2006
    Hi Rajesh,
    Your understanding is correct, but point 1 deserves some clarifications.
    In general, when all subscriptions for an item are terminated through unsubscriptions, the subscription is no longer maintained by the Server, which implies three consequences:
    • unsubscribe() is invoked to the Data Adapter;
    • the item snapshot is discarded;
    • upon the next subscription, subscribe() will be invoked to the Data Adapter.

    This is done immediately, with no timeout.
    However, if a session is terminated without explicit unsubscriptions of the item, a timeout is applied to each of these items, which can be configured through the <subscription_timeout_millis> element.
    Note that, in some cases, a timeout is applied to an unresponsive session before stating that it is terminated (see <session_timeout_millis> and <session_recovery_millis>). In this case, the longer of the two timeouts is applied to the items.

  3. #3
    Thank you , I am clear now.



Similar Threads

  1. Replies: 1
    Last Post: April 17th, 2015, 09:59 AM
  2. Snapshot in Remote Data Adapter
    By Dejan Milosevic in forum Adapter SDKs
    Replies: 5
    Last Post: July 31st, 2014, 03:06 PM
  3. Replies: 7
    Last Post: June 7th, 2010, 09:38 AM
  4. Pre-Processor Snapshot vs DataAdapter Snapshot
    By sukhdev in forum Adapter SDKs
    Replies: 3
    Last Post: August 1st, 2007, 08:44 AM
  5. Unexpected snapshot event for MERGE
    By churrusco in forum General
    Replies: 2
    Last Post: May 4th, 2007, 03:19 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 03:05 PM.