first cleanup of cache code - implemented a new CacheMap which uses
SoftReferences
This commit is contained in:
@@ -19,7 +19,7 @@ package com.silverwrist.venice.core.impl;
|
||||
|
||||
import java.sql.*;
|
||||
import java.util.Random;
|
||||
import com.silverwrist.util.cachemap.*;
|
||||
import com.silverwrist.util.cache.CacheMap;
|
||||
import com.silverwrist.venice.core.*;
|
||||
import com.silverwrist.venice.db.*;
|
||||
|
||||
@@ -38,12 +38,12 @@ class AdvertisementImpl implements Advertisement
|
||||
*--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
private DataPool datapool;
|
||||
private int adid;
|
||||
private String imagepath;
|
||||
private short style;
|
||||
private String caption;
|
||||
private String linkurl;
|
||||
private DataPool datapool; // data pool reference
|
||||
private int adid; // ad ID
|
||||
private String imagepath; // image path
|
||||
private short style; // ad style
|
||||
private String caption; // ad caption
|
||||
private String linkurl; // ad link URL
|
||||
|
||||
/*--------------------------------------------------------------------------------
|
||||
* Constructor
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.silverwrist.venice.servlets.format;
|
||||
|
||||
import java.io.*;
|
||||
import com.silverwrist.util.IOUtil;
|
||||
import com.silverwrist.util.cachemap.CacheMap;
|
||||
import com.silverwrist.util.cache.CacheMap;
|
||||
|
||||
public class StaticRender implements ContentRender
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user