ncsa.tools.trebuchet.core.data
Class CacheHeader
java.lang.Object
ncsa.tools.trebuchet.core.data.CacheEntry
ncsa.tools.trebuchet.core.data.CacheHeader
- public class CacheHeader
- extends CacheEntry
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HEADER_LENGTH
public static final int HEADER_LENGTH
- See Also:
- Constant Field Values
FIXED_LENGTH_BYTES
public static final int[] FIXED_LENGTH_BYTES
CacheHeader
public CacheHeader()
CacheHeader
public CacheHeader(java.nio.ByteBuffer buffer)
toBuffer
public void toBuffer(java.nio.ByteBuffer buffer)
- Overrides:
toBuffer in class CacheEntry
toString
public java.lang.String toString()
- Overrides:
toString in class CacheEntry
toShortString
public java.lang.String toShortString()
- Overrides:
toShortString in class CacheEntry
length
public int length()
- Specified by:
length in class CacheEntry
getDepth
public java.lang.Integer getDepth()
- Description copied from class:
CacheEntry
- Should return the depth of the entry, or
null if not relevant.
- Specified by:
getDepth in class CacheEntry
maybeGenerateTemporaryTarget
public void maybeGenerateTemporaryTarget()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getSourceBaseUri
public java.net.URI getSourceBaseUri()
setSourceBaseUri
public void setSourceBaseUri(java.net.URI sourceBaseUri)
getTargetUri
public java.net.URI getTargetUri()
setTargetUri
public void setTargetUri(java.net.URI targetUri)
getTmpDir
public java.net.URI getTmpDir()
setTmpDir
public void setTmpDir(java.net.URI tmpDir)
getCacheSize
public int getCacheSize()
setCacheSize
public void setCacheSize(int cacheSize)
getCurrentDepth
public int getCurrentDepth()
setCurrentDepth
public void setCurrentDepth(int depth)
getDepthStartPosition
public long getDepthStartPosition()
setDepthStartPosition
public void setDepthStartPosition(long depthStartPosition)
getPattern
public UriPattern getPattern()
setPattern
public void setPattern(UriPattern pattern)
getConfiguration
public TrebuchetConfiguration getConfiguration()
setConfiguration
public void setConfiguration(TrebuchetConfiguration configuration)