org.scache
Class cacheobject
java.lang.Object
org.scache.cacheobject
- public final class cacheobject
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RESERVED
public static final java.lang.String RESERVED
- See Also:
- Constant Field Values
REDIRSTR
public static final java.lang.String REDIRSTR
- See Also:
- Constant Field Values
REDIRSTRLEN
public static final int REDIRSTRLEN
- See Also:
- Constant Field Values
c_hit
public static int c_hit
c_miss
public static int c_miss
c_refresh
public static int c_refresh
c_block
public static int c_block
b_hit
public static int b_hit
b_miss
public static int b_miss
end_dot
public static boolean end_dot
keep_deleted
public static boolean keep_deleted
generate_lastmod
public static boolean generate_lastmod
hide_errors
public static boolean hide_errors
escape_backslash
public static boolean escape_backslash
trace_refresh
public static boolean trace_refresh
force_ims_on_reloads
public static boolean force_ims_on_reloads
custom500
public static java.lang.String custom500
defaultname
public static java.lang.String defaultname
dmachine_offmask
public static regexp[] dmachine_offmask
auto_compress
public static int auto_compress
auto_decompress
public static int auto_decompress
nocompress
public static java.lang.String[] nocompress
equals
public final boolean equals(java.lang.Object o)
hashCode
public final int hashCode()
needSave
public final boolean needSave()
save
public final void save(java.io.DataOutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
make_request
public final void make_request(request r,
long reload_age,
long min_age,
long max_age,
float percent,
long expire_age,
long redir_age)
throws java.io.IOException
- Throws:
java.io.IOException
compress
public final void compress(int level)
isValid
public final boolean isValid()
getLocalName
public final java.lang.String getLocalName()
delete
public final void delete()
clearLocalName
public final void clearLocalName()
regenName
public final void regenName()
genName
public final java.lang.String genName(java.lang.String tmp)
rename
public final boolean rename(java.io.File from,
java.io.File to)
toString
public final java.lang.String toString()
getDirectory
public final cachedir getDirectory()
setDirectory
public final void setDirectory(cachedir newdir)
getName
public final java.lang.String getName()
getType
public final java.lang.String getType()
getLRU
public final long getLRU()
getRC
public final int getRC()
getSize
public final int getSize()
getDate
public final long getDate()
getExp
public final long getExp()
isCheckable
public final boolean isCheckable()
isRedirect
public final boolean isRedirect()
printDelta
public static final java.lang.String printDelta(long delta)