I found in the API description, that the "SystemWeaver.Common.IswBroker.GetItem" method is "[Not cached]"...
What does it exactly means?
It will not search for this item in the local cache, and every "GetItem" call will get the item directly from the server?
Thank you
Best Answer
F
Fredrik Dannberg
said
about 6 years ago
Hi Tibor,
All the SystemWeaver.Common.IswBroker.Get* methods with the [Not cached] comment do cache the information on the client side if there is an object with the given id.
[Not cached] indicates that if the response from the server is that there is no object with that id, no information about that query will be stored locally. In practice this means that if you repeatedly ask for the same object which does not exist on the server, every query will be sent to the server. This may put an unnecessary load on the server if done irresponsibly.
Best regards,
Fredrik
1 Comment
F
Fredrik Dannberg
said
about 6 years ago
Answer
Hi Tibor,
All the SystemWeaver.Common.IswBroker.Get* methods with the [Not cached] comment do cache the information on the client side if there is an object with the given id.
[Not cached] indicates that if the response from the server is that there is no object with that id, no information about that query will be stored locally. In practice this means that if you repeatedly ask for the same object which does not exist on the server, every query will be sent to the server. This may put an unnecessary load on the server if done irresponsibly.
Tibor Molnár
Hi,
I found in the API description, that the "SystemWeaver.Common.IswBroker.GetItem" method is "[Not cached]"...
What does it exactly means?
It will not search for this item in the local cache, and every "GetItem" call will get the item directly from the server?
Thank you
Hi Tibor,
All the SystemWeaver.Common.IswBroker.Get* methods with the [Not cached] comment do cache the information on the client side if there is an object with the given id.
[Not cached] indicates that if the response from the server is that there is no object with that id, no information about that query will be stored locally. In practice this means that if you repeatedly ask for the same object which does not exist on the server, every query will be sent to the server. This may put an unnecessary load on the server if done irresponsibly.
Best regards,
Fredrik
Fredrik Dannberg
Hi Tibor,
All the SystemWeaver.Common.IswBroker.Get* methods with the [Not cached] comment do cache the information on the client side if there is an object with the given id.
[Not cached] indicates that if the response from the server is that there is no object with that id, no information about that query will be stored locally. In practice this means that if you repeatedly ask for the same object which does not exist on the server, every query will be sent to the server. This may put an unnecessary load on the server if done irresponsibly.
Best regards,
Fredrik
-
Support for Autotest of API applications
-
Major version exception in API
-
Part multiplicity exception in API
-
Get enum attribute value description
-
Detecting connection status?
-
Item type name from SID
-
Adding an existing item as part to an item using C# API
-
Last Changed date isn't updating
-
Script filer och API
-
How do I return a DataTable instead of IswItems?
See all 18 topics