dlr 02/01/15 02:23:34
Modified: src/java/org/apache/stratum/jcs/access/behavior
ICacheAccess.java
Log:
Removed redundant decl specifiers and broke long lines at 80 columns.
Revision Changes Path
1.2 +23 -15
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/access/behavior/ICacheAccess.java
Index: ICacheAccess.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/access/behavior/ICacheAccess.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -u -r1.1 -r1.2
--- ICacheAccess.java 15 Jan 2002 06:14:12 -0000 1.1
+++ ICacheAccess.java 15 Jan 2002 10:23:34 -0000 1.2
@@ -13,15 +13,17 @@
/////////////////////////////////////////
// Static methods that should be implemented
- //public static void defineRegion( String name, CacheAttributes cattr, Attributes
attr ) throws CacheException;
- //public static void defineRegion( String name, CacheAttributes cattr ) throws
CacheException;
+ //public static void defineRegion( String name, CacheAttributes cattr,
+ // Attributes attr ) throws CacheException;
+ //public static void defineRegion( String name, CacheAttributes cattr )
+ // throws CacheException;
//public static void defineRegion( String name ) throws CacheException;
/////////////////////////////////////////
//public static CacheAccess getAccess( String region );
/////////////////////////////////////////
- public Object get( String name );
+ Object get( String name );
@@ -44,25 +46,31 @@
* the specified element from other caches specified in
* in the cache.properties file as lateral caches.
*/
- public void removeLateralDirect();
- public void removeLateralDirect(Serializable key);
+ void removeLateralDirect();
+ void removeLateralDirect(Serializable key);
/**
- * ResetAttributes allows for some of the attributes of a region to be reset in
particular expiration time
- * attriubtes, time to live, default time to live and idle time, and event
handlers. The cacheloader object and
- * attributes set as flags can't be reset with resetAttributes, the object must
be destroyed and redefined to
- * cache those parameters. Changing default settings on groups and regions will
not affect existing objects.
- * Only object loaded after the reset will use the new defaults. If no name
argument is provided, the reset is
- * applied to the region.
+ * ResetAttributes allows for some of the attributes of a region to
+ * be reset in particular expiration time attriubtes, time to live,
+ * default time to live and idle time, and event handlers. The
+ * cacheloader object and attributes set as flags can't be reset
+ * with resetAttributes, the object must be destroyed and redefined
+ * to cache those parameters. Changing default settings on groups
+ * and regions will not affect existing objects. Only object loaded
+ * after the reset will use the new defaults. If no name argument is
+ * provided, the reset is applied to the region.
*/
void resetElementAttributes(Attributes attr) throws CacheException;
- void resetElementAttributes(Object name, Attributes attr) throws CacheException;
+ void resetElementAttributes(Object name, Attributes attr)
+ throws CacheException;
/**
- * GetAttributes will return an attribute object describing the current
attributes associated with the object
- * name. If no name parameter is available, the attributes for the region will
be returned. The name object must
- * override the Object.equals and Object.hashCode methods.
+ * GetAttributes will return an attribute object describing the
+ * current attributes associated with the object name. If no name
+ * parameter is available, the attributes for the region will be
+ * returned. The name object must override the Object.equals and
+ * Object.hashCode methods.
*/
Attributes getElementAttributes() throws CacheException;
Attributes getElementAttributes(Object name) throws CacheException;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>