diff options
author | Kelly Washington <kelly@lindenlab.com> | 2012-07-03 23:34:56 +0000 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2012-07-03 23:34:56 +0000 |
commit | 3a56fbf867194ec8fbc7d8237f9781ac9d72c8a4 (patch) | |
tree | d1bbc30df8958f6ed2032673a2f758118f2b5fa0 /indra/newview/llgroupmgr.h | |
parent | f199b298b4bbd01702ea248236d00a1e05b7bdeb (diff) |
MAINT-1231 Investigate increasing MAX_CACHED_GROUPS in llgroupmgr.cpp
* increased max groups to 20
* changed cache to LRU instead of 'delete half when overfull'
reviewed with Baker
Diffstat (limited to 'indra/newview/llgroupmgr.h')
-rw-r--r-- | indra/newview/llgroupmgr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llgroupmgr.h b/indra/newview/llgroupmgr.h index faf0531c10..df3cd17e03 100644 --- a/indra/newview/llgroupmgr.h +++ b/indra/newview/llgroupmgr.h @@ -86,7 +86,7 @@ public: BOOL isInRole(const LLUUID& role_id) { return (mRolesList.find(role_id) != mRolesList.end()); } -protected: +private: LLUUID mID; S32 mContribution; U64 mAgentPowers; @@ -233,6 +233,9 @@ public: BOOL isRoleMemberDataComplete() { return mRoleMemberDataComplete; } BOOL isGroupPropertiesDataComplete() { return mGroupPropertiesDataComplete; } + F32 getAccessTime() const { return mAccessTime; } + void setAccessed(); + public: typedef std::map<LLUUID,LLGroupMemberData*> member_list_t; typedef std::map<LLUUID,LLGroupRoleData*> role_list_t; @@ -280,6 +283,7 @@ private: BOOL mGroupPropertiesDataComplete; BOOL mPendingRoleMemberRequest; + F32 mAccessTime; }; struct LLRoleAction |