* remove unused CommitAssets() hook for now

This commit is contained in:
Justin Clarke Casey
2008-07-07 19:18:44 +00:00
parent 0b2fcbfec4
commit 1813946937
10 changed files with 1 additions and 53 deletions

View File

@@ -50,7 +50,6 @@ namespace OpenSim.Framework.Communications.Cache
protected IAssetLoader assetLoader = new AssetLoaderFileSystem();
protected abstract void StoreAsset(AssetBase asset);
protected abstract void CommitAssets();
/// <summary>
/// This method must be implemented by a subclass to retrieve the asset named in the
@@ -108,8 +107,6 @@ namespace OpenSim.Framework.Communications.Cache
m_log.Info("[ASSET SERVER]: Setting up asset database");
assetLoader.ForEachDefaultXmlAsset(StoreAsset);
CommitAssets();
}
public AssetServerBase()
@@ -167,7 +164,6 @@ namespace OpenSim.Framework.Communications.Cache
lock (m_syncLock)
{
m_assetProvider.UpdateAsset(asset);
m_assetProvider.CommitAssets();
}
}
@@ -176,7 +172,6 @@ namespace OpenSim.Framework.Communications.Cache
lock (m_syncLock)
{
StoreAsset(asset);
CommitAssets();
}
}

View File

@@ -106,10 +106,6 @@ namespace OpenSim.Framework.Communications.Cache
}
}
protected override void CommitAssets()
{
}
public override void Close()
{
throw new Exception("The method or operation is not implemented.");

View File

@@ -74,8 +74,6 @@ namespace OpenSim.Framework.Communications.Cache
public override void Close()
{
base.Close();
m_assetProvider.CommitAssets();
}
protected override AssetBase GetAsset(AssetRequest req)
@@ -93,10 +91,5 @@ namespace OpenSim.Framework.Communications.Cache
{
m_assetProvider.CreateAsset(asset);
}
protected override void CommitAssets()
{
m_assetProvider.CommitAssets();
}
}
}

View File

@@ -35,7 +35,6 @@ namespace OpenSim.Framework
void CreateAsset(AssetBase asset);
void UpdateAsset(AssetBase asset);
bool ExistsAsset(LLUUID uuid);
void CommitAssets(); // force a sync to the database
void Initialise(string connect);
}
}