OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
/// <summary>
/// Look up the given group id to check whether it's one that is valid for this grid.
/// </summary>
/// <param name="uuid"></param>
/// <returns></returns>
Look up the given group id to check whether it's one that is valid for this grid.
Look up the given group id to check whether it ' s one that is valid for this grid .
private bool ResolveGroupUuid(UUID uuid)
        {
            lock (m_validGroupUuids)
            {
                if (!m_validGroupUuids.ContainsKey(uuid))
                {
                    bool exists;
                    if (m_groupsModule == null)
                    {
                        exists = false;
                    }
                    else
                    {
                        exists = (m_groupsModule.GetGroupRecord(uuid) != null);
                    }
                    m_validGroupUuids.Add(uuid, exists);
                }
                return m_validGroupUuids[uuid];
            }
        }
private bool ResolveGroupUuid ( UUID uuid ) { lock ( m_validGroupUuids ) { if ( ! m_validGroupUuids . ContainsKey ( uuid ) ) { bool exists ; if ( m_groupsModule == null ) { exists = false ; } else { exists = ( m_groupsModule . GetGroupRecord ( uuid ) != null ) ; } m_validGroupUuids . Add ( uuid , exists ) ; } return m_validGroupUuids [ uuid ] ; } }
Look up the given group id to check whether it's one that is valid for this grid.
Look up the given group id to check whether it ' s one that is valid for this grid .
// Note: we call GetGroupRecord() inside the lock because this GroupID is likely // to occur many times, and we only want to query the groups service once.
None
uuid
UUID
None