Mark GetUserInventory as obsolete. It is still used in the default

avatars module and in the REST inventory service, but future inventory
services and/or connector will not include this method anymore, because
it is dangerous on large inventory servers. Marking as obsolete to give
an incentive to rewrite these services to use the recursive fetching
or more targeted retrieval.
mysql-performance
Melanie 2010-01-04 05:34:32 +00:00
parent e69ec1108f
commit f198c68547
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ namespace OpenSim.Services.Interfaces
/// </summary> /// </summary>
/// <param name="userID"></param> /// <param name="userID"></param>
/// <returns></returns> /// <returns></returns>
[Obsolete]
InventoryCollection GetUserInventory(UUID userID); InventoryCollection GetUserInventory(UUID userID);
/// <summary> /// <summary>
@ -67,6 +68,7 @@ namespace OpenSim.Services.Interfaces
/// </summary> /// </summary>
/// <param name="userID"></param> /// <param name="userID"></param>
/// <param name="callback"></param> /// <param name="callback"></param>
[Obsolete]
void GetUserInventory(UUID userID, InventoryReceiptCallback callback); void GetUserInventory(UUID userID, InventoryReceiptCallback callback);
/// <summary> /// <summary>