mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone.
This commit is contained in:
@@ -49,7 +49,7 @@ namespace OpenSim.Services.Connectors
|
||||
const int MAXSENDRETRIESLEN = 30;
|
||||
|
||||
private string m_ServerURI = String.Empty;
|
||||
private IImprovedAssetCache m_Cache = null;
|
||||
private IAssetCache m_Cache = null;
|
||||
private int m_retryCounter;
|
||||
private bool m_inRetries;
|
||||
private List<AssetBase>[] m_sendRetries = new List<AssetBase>[MAXSENDRETRIESLEN];
|
||||
@@ -233,7 +233,7 @@ namespace OpenSim.Services.Connectors
|
||||
}
|
||||
}
|
||||
|
||||
protected void SetCache(IImprovedAssetCache cache)
|
||||
protected void SetCache(IAssetCache cache)
|
||||
{
|
||||
m_Cache = cache;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
||||
private static string ZeroID = UUID.Zero.ToString();
|
||||
|
||||
private string m_serverUrl = String.Empty;
|
||||
private IImprovedAssetCache m_cache;
|
||||
private IAssetCache m_cache;
|
||||
private bool m_Enabled = false;
|
||||
|
||||
#region ISharedRegionModule
|
||||
@@ -65,7 +65,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
||||
{
|
||||
if (m_cache == null)
|
||||
{
|
||||
IImprovedAssetCache cache = scene.RequestModuleInterface<IImprovedAssetCache>();
|
||||
IAssetCache cache = scene.RequestModuleInterface<IAssetCache>();
|
||||
if (cache is ISharedRegionModule)
|
||||
m_cache = cache;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user