mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone.
This commit is contained in:
@@ -55,7 +55,7 @@ using OpenSim.Services.Interfaces;
|
||||
namespace OpenSim.Region.CoreModules.Asset
|
||||
{
|
||||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "FlotsamAssetCache")]
|
||||
public class FlotsamAssetCache : ISharedRegionModule, IImprovedAssetCache, IAssetService
|
||||
public class FlotsamAssetCache : ISharedRegionModule, IAssetCache, IAssetService
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(
|
||||
@@ -219,7 +219,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
{
|
||||
if (m_Enabled)
|
||||
{
|
||||
scene.RegisterModuleInterface<IImprovedAssetCache>(this);
|
||||
scene.RegisterModuleInterface<IAssetCache>(this);
|
||||
m_Scenes.Add(scene);
|
||||
}
|
||||
}
|
||||
@@ -228,7 +228,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
{
|
||||
if (m_Enabled)
|
||||
{
|
||||
scene.UnregisterModuleInterface<IImprovedAssetCache>(this);
|
||||
scene.UnregisterModuleInterface<IAssetCache>(this);
|
||||
m_Scenes.Remove(scene);
|
||||
lock(timerLock)
|
||||
{
|
||||
@@ -271,7 +271,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// IImprovedAssetCache
|
||||
// IAssetCache
|
||||
//
|
||||
private void UpdateWeakReference(string key, AssetBase asset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user