You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/01/18 01:46:28 UTC
svn commit: r369986 - in
/incubator/roller/trunk/src/org/roller/presentation/cache:
ExpiringCacheEntry.java LazyExpiringCacheEntry.java
Author: agilliland
Date: Tue Jan 17 16:46:25 2006
New Revision: 369986
URL: http://svn.apache.org/viewcvs?rev=369986&view=rev
Log:
cache entry objects should be Serializable.
Modified:
incubator/roller/trunk/src/org/roller/presentation/cache/ExpiringCacheEntry.java
incubator/roller/trunk/src/org/roller/presentation/cache/LazyExpiringCacheEntry.java
Modified: incubator/roller/trunk/src/org/roller/presentation/cache/ExpiringCacheEntry.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/cache/ExpiringCacheEntry.java?rev=369986&r1=369985&r2=369986&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/cache/ExpiringCacheEntry.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/cache/ExpiringCacheEntry.java Tue Jan 17 16:46:25 2006
@@ -6,6 +6,9 @@
package org.roller.presentation.cache;
+import java.io.Serializable;
+
+
/**
* A cache entry that expires.
*
@@ -14,7 +17,7 @@
*
* @author Allen Gilliland
*/
-public class ExpiringCacheEntry {
+public class ExpiringCacheEntry implements Serializable {
private Object value;
private long timeCached = -1;
Modified: incubator/roller/trunk/src/org/roller/presentation/cache/LazyExpiringCacheEntry.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/cache/LazyExpiringCacheEntry.java?rev=369986&r1=369985&r2=369986&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/cache/LazyExpiringCacheEntry.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/cache/LazyExpiringCacheEntry.java Tue Jan 17 16:46:25 2006
@@ -6,7 +6,8 @@
package org.roller.presentation.cache;
-import java.util.Date;
+import java.io.Serializable;
+
/**
* A cache entry that is meant to expire in a lazy fashion.
@@ -31,7 +32,7 @@
*
* @author Allen Gilliland
*/
-public class LazyExpiringCacheEntry {
+public class LazyExpiringCacheEntry implements Serializable {
private Object value = null;
private long timeCached = -1;