Index

Package: biz.hammurapi.cache.sql

Class FileCacheEngine

Methods
MethodDescription
public void <init>( biz.hammurapi.sql.SQLProcessor processor ) Constructor
public int deleteCacheEntry( )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes all records from CACHE_ENTRY
public int deleteCacheEntry( String EntryKey )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes by primary key from CACHE_ENTRY
public int deleteCacheEntryExpiresLE( long EntryExpires )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Deletes row(s) with less or equal index value(s): ENTRY_EXPIRES
public java.util.Collection getCacheEntry( ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. Selects all rows from CACHE_ENTRY
public java.util.Collection getCacheEntry( biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. If converter is not null then elements will be results of conversion.Selects all rows from CACHE_ENTRY
public java.util.Collection getCacheEntry( Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. If targetClass is not null then elements will be of targetClass typeSelects all rows from CACHE_ENTRY
public java.util.Collection getCacheEntry( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. Selects all rows from CACHE_ENTRY
public java.util.Collection getCacheEntry( java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. If converter is not null then elements will be results of conversion. Selects all rows from CACHE_ENTRY
public java.util.Collection getCacheEntry( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects all rows from CACHE_ENTRY
public CacheEntry getCacheEntry( String EntryKey )  throws java.sql.SQLExceptionExecutes query and returns single object. Selects by primary key from CACHE_ENTRY
public CacheEntry getCacheEntry( String EntryKey, Class targetClass )  throws java.sql.SQLExceptionExecutes query and returns single object of target class type. Target class must be return type compatible. Selects by primary key from CACHE_ENTRY
public java.util.Collection getCacheEntryExpiresLE( long EntryExpires ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. Selects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public java.util.Collection getCacheEntryExpiresLE( long EntryExpires, biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. If converter is not null then elements will be results of conversion.Selects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public java.util.Collection getCacheEntryExpiresLE( long EntryExpires, Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. If targetClass is not null then elements will be of targetClass typeSelects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public java.util.Collection getCacheEntryExpiresLE( long EntryExpires, java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. Selects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public java.util.Collection getCacheEntryExpiresLE( long EntryExpires, java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. If converter is not null then elements will be results of conversion. Selects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public java.util.Collection getCacheEntryExpiresLE( long EntryExpires, java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public java.util.Collection getCacheEntryLastAccessOrdered( ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. Selects ordered by index: LAST_ACCESS
public java.util.Collection getCacheEntryLastAccessOrdered( biz.hammurapi.convert.Converter converter ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. If converter is not null then elements will be results of conversion.Selects ordered by index: LAST_ACCESS
public java.util.Collection getCacheEntryLastAccessOrdered( Class targetClass ) Executes query, returns database backed collection with elements of type biz.hammurapi.cache.sql.CacheEntry. If targetClass is not null then elements will be of targetClass typeSelects ordered by index: LAST_ACCESS
public java.util.Collection getCacheEntryLastAccessOrdered( java.util.Collection receiver )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. Selects ordered by index: LAST_ACCESS
public java.util.Collection getCacheEntryLastAccessOrdered( java.util.Collection receiver, biz.hammurapi.convert.Converter converter )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. If converter is not null then elements will be results of conversion. Selects ordered by index: LAST_ACCESS
public java.util.Collection getCacheEntryLastAccessOrdered( java.util.Collection receiver, Class targetClass )  throws java.sql.SQLExceptionExecutes query, populates collection with elements of type biz.hammurapi.cache.sql.CacheEntry and returns populated collection. If targetClass is not null then elements will be of targetClass type. Selects ordered by index: LAST_ACCESS
public int insertCacheEntry( String EntryKey, String ValueFile, long EntryTime, long EntryExpires, long LastAccess )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into CACHE_ENTRY
public int insertCacheEntry( CacheEntry rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Inserts new record into CACHE_ENTRY
public void processCacheEntry( biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects all rows from CACHE_ENTRY
public void processCacheEntryExpiresLE( long EntryExpires, biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects row(s) with less or equal index value(s) ordered by index. Columns: ENTRY_EXPIRES
public void processCacheEntryLastAccessOrdered( biz.hammurapi.sql.RowProcessor processor )  throws java.sql.SQLExceptionExecutes query, iterates over rows and invokes methods of RowProcessor for each row. Selects ordered by index: LAST_ACCESS
public int setLastAccess( long p1, String p2 )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows.
public int updateCacheEntry( CacheEntry rowInterface )  throws java.sql.SQLExceptionExecutes update and returns number of affected rows. Updates record with by primary key in PUBLIC.CACHE_ENTRY

Fields
NameTypeModifiersAttributes
_processorbiz.hammurapi.sql.SQLProcessor
private
IMPL_CLASS_biz_hammurapi_cache_sql_CacheEntryjava.lang.Class
private
static
final