wttools.protocols.cache
Class CacheData

java.lang.Object
  |
  +--wttools.protocols.cache.CacheData
All Implemented Interfaces:
java.io.Serializable

public class CacheData
extends java.lang.Object
implements java.io.Serializable

CacheData.java Created: Tue Oct 30 18:16:49 2001

Version:
$Revision: 1.1 $
Author:
Artur Hefczyc
See Also:
Serialized Form

Field Summary
protected  long createTime
           
protected  byte[] data
           
protected  long lastUsedTime
           
protected  int timesUsed
           
 
Constructor Summary
CacheData(byte[] data)
           
 
Method Summary
 byte[] getDataBytes()
           
 java.io.InputStream getDataInputStream()
           
 java.lang.String getDataString()
           
protected  void updateStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected byte[] data

createTime

protected long createTime

lastUsedTime

protected long lastUsedTime

timesUsed

protected int timesUsed
Constructor Detail

CacheData

public CacheData(byte[] data)
Method Detail

getDataBytes

public byte[] getDataBytes()

getDataString

public java.lang.String getDataString()

getDataInputStream

public java.io.InputStream getDataInputStream()

updateStats

protected void updateStats()


Copyright GNU, wttools developers Team.