asmuts 02/01/14 22:16:44
Added: src/java/org/apache/stratum/jcs/auxiliary/disk/hsql/behavior
IHSQLCacheAttributes.java IHSQLCacheService.java
Log:
interfaces for hsql disk auxiliary cache implementations
these will probably need to grow if the hsql is made usable
Revision Changes Path
1.1
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/disk/hsql/behavior/IHSQLCacheAttributes.java
Index: IHSQLCacheAttributes.java
===================================================================
package org.apache.stratum.jcs.auxiliary.disk.hsql.behavior;
import org.apache.stratum.jcs.auxiliary.behavior.IAuxiliaryCacheAttributes;
/**
* Title:
* Description:
* Copyright: Copyright (c) 2001
* Company:
* @author "Aaron Smuts"
* @version 1.0
*/
public interface IHSQLCacheAttributes extends IAuxiliaryCacheAttributes {
////////////////////////////////////
public void setDiskPath( String path );
////////////////////////////////////
public String getDiskPath( );
} // end interface
1.1
jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/disk/hsql/behavior/IHSQLCacheService.java
Index: IHSQLCacheService.java
===================================================================
package org.apache.stratum.jcs.auxiliary.disk.hsql.behavior;
import org.apache.stratum.jcs.auxiliary.disk.hsql.*;
import org.apache.stratum.jcs.engine.*;
import org.apache.stratum.jcs.engine.behavior.*;
import org.apache.stratum.jcs.access.exception.*;
import java.rmi.*;
import java.io.*;
/** Used to retrieve and update the disk cache. */
public interface IHSQLCacheService extends ICacheService {
/**
* Puts a cache item to the cache.
*/
public void update(ICacheElement item, byte requesterId) throws IOException;
/**
* Removes the given key from the specified cache.
*/
public void remove(String cacheName, Serializable key, byte requesterId) throws
IOException;
/**
* Remove all keys from the sepcified cache.
*/
public void removeAll(String cacheName, byte requesterId) throws IOException;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>