-
December 16th, 2010, 02:30 PM
#1
Yes, you are right, the getDistinctSnapshotLength is not invoked at all...
How should I invoke this? I thought lightstreamer will invoke this automatically.
I am using lightstreamer Version 3.5 Update 1428.4
-
December 16th, 2010, 02:51 PM
#2
In my previous post I didn't notice that,
but you coded getDistinctSnapshotLength in the Data Adapter (beside isSnapshotAvailable);
you should rather code it in the Metadata Adapter;
then, Lightstreamer will invoke it automatically.
Are you using a custom Metadata Adapter or the ready-made LiteralBasedProvider?
In the latter case, you don't need to move to a custom Metadata Adapter, as the setting of <param name="distinct_snapshot_length">500</param> should do the trick;
if it hasn't worked, maybe the syntax is not correct; please ensure that the line is inside the <metadata_provider> element.
-
December 16th, 2010, 03:15 PM
#3
Thanks a lot !!!
When I moved the getDistinctSnapshotLength to Meta Data adapter. it worked.
Similar Threads
-
By wwatts in forum Client SDKs
Replies: 3
Last Post: October 2nd, 2012, 10:40 AM
-
By LS_Developer in forum General
Replies: 3
Last Post: March 14th, 2012, 02:46 PM
-
By patilgkk in forum General
Replies: 5
Last Post: August 2nd, 2010, 09:04 AM
-
By patilgkk in forum Adapter SDKs
Replies: 3
Last Post: June 3rd, 2010, 10:27 AM
-
By sukhdev in forum Adapter SDKs
Replies: 3
Last Post: August 1st, 2007, 08:44 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 03:21 PM.
Bookmarks