Index

Package: com.pavelvlasov.cache.sql

Class CacheEntryImpl

extends com.pavelvlasov.sql.DatabaseObject
implements CacheEntry

Methods
MethodDescription
public void <init>( ) Default constructor
public void <init>( boolean force ) Constructor with force parameter
public void <init>( org.w3c.dom.Element holder, boolean force )  throws com.pavelvlasov.config.ConfigurationExceptionConstructor from DOM element
public void <init>( org.w3c.dom.Element holder, java.util.Properties pathMap, org.apache.xpath.CachedXPathAPI cxpa, boolean force )  throws com.pavelvlasov.config.ConfigurationExceptionConstructor from DOM element
public void <init>( java.sql.ResultSet rs )  throws java.sql.SQLExceptionConstructor from row
public Object clone( )  throws java.lang.CloneNotSupportedExceptionDeep clone - clones columns.
public long getEntryExpires( ) Accessor for ENTRY_EXPIRES
public String getEntryKey( ) Accessor for ENTRY_KEY
public long getEntryTime( ) Accessor for ENTRY_TIME
public long getLastAccess( ) Accessor for LAST_ACCESS
public String getValueFile( ) Accessor for VALUE_FILE
public static java.util.Collection project( com.pavelvlasov.sql.SQLProcessor processor, String sql, com.pavelvlasov.sql.Parameterizer parameterizer ) Returns database backed collection with elements of type com.pavelvlasov.cache.sql.CacheEntryImpl
public static java.util.Collection project( com.pavelvlasov.sql.SQLProcessor processor, String sql, com.pavelvlasov.sql.Parameterizer parameterizer, java.util.Collection receiver )  throws java.sql.SQLExceptionPopulates receiver collection with elements of type com.pavelvlasov.cache.sql.CacheEntryImpl and returns it
public void setEntryExpires( long EntryExpires ) Mutator for ENTRY_EXPIRES
public void setEntryKey( String EntryKey ) Mutator for ENTRY_KEY
public void setEntryTime( long EntryTime ) Mutator for ENTRY_TIME
public void setLastAccess( long LastAccess ) Mutator for LAST_ACCESS
public void setValueFile( String ValueFile ) Mutator for VALUE_FILE